Persian Commands and Best Practices Cheat Sheet
CyberGx@github:~$ git config —global user.name
CyberGx@github:~$ git config —global user.email
CyberGx@github:~$ git add -A
CyberGx@github:~$ git reset $FILENAME
CyberGx@github:~$ git commit -m "Commit Message"
CyberGx@github:~$ git commit --amend
CyberGx@github:~$ git checkout — $FILENAME
CyberGx@github:~$ git diff head
CyberGx@github:~$ git diff —staged
CyberGx@github:~$ git rm $FILENAME
CyberGx@github:~$ git show $COMMITID
CyberGx@github:~$ git blame $FILENAME
CyberGx@github:~$ git blame $FILENAME -L8
CyberGx@github:~$ git branch
CyberGx@github:~$ git branch $BRANCHNAME
CyberGx@github:~$ git branch -d $BRANCHNAME
CyberGx@github:~$ git checkout $BRANCHNAME
CyberGx@github:~$ git merge $BRANCHNAME
CyberGx@github:~$ git clone $URL
CyberGx@github:~$ git pull origin master
CyberGx@github:~$ git push -u origin master
CyberGx@github:~$ git remote -v
CyberGx@github:~$ git remote add origin $URL
CyberGx@github:~$ git tag
CyberGx@github:~$ git tag -a v2.0 -m "Second Version"
CyberGx@github:~$ git tag -a v2.0 $COMMITID -m "Second Version"
CyberGx@github:~$ git show v2.0
CyberGx@github:~$ git push origin —tags
CyberGx@github:~$ git checkout v2.0
CyberGx@github:~$ git bisect start
CyberGx@github:~$ git bisect bad
CyberGx@github:~$ git bisect good $COMMITID
CyberGx@github:~$ git bisect bad
CyberGx@github:~$ git bisect good
CyberGx@github:~$ gpg —list-keys
CyberGx@github:~$ gpg —gen-key
CyberGx@github:~$ gpg —list-secret-keys —keyid-format LONG
CyberGx@github:~$ git config —global user.signingkey $SECRETKEY
CyberGx@github:~$ git tag -s v2.0 -m "Second Tag"
CyberGx@github:~$ git commit -S -m "Commit Message"