git config --l
git config --global user.name
git config --global user.email
git config --global color.ui true
git config --get user.name
git config --get user.email
git init
git add README.txt
git add -f README.txt
git commit -m "create a new file README.txt"
git checkout
git checkout --README.txt
git checkout dev
git checkout -b dev
git checkout -b dev origin/dev
git status
git diff
git diff HEAD -- README.txt
git log
git log --pretty=online
git log --oneline
git log --graph --pretty=oneline --abbrev-commit
git log -l
git reset --hard HEAD^
git reset --hard 版本号
git reset HEAD README.txt
git rm README.txt
git commit
git checkout -- README.txt
git remote add origin https://github.com/Ageek/mine.git
git remote add origin @github.com:Ageek/mine.git
git remote
git remote -v
git remote rm origin
git push -u origin master
git push origin master
git pull
git branch --set-upstream-to=origin/dev dev
git pull origin master
git pull origin master --allow-unrelated-histories
git clone https://github.com/Ageek/mine.git
git clone @github.com:Ageek/mine.git
git branch
git branch dev
git branch -d dev
git branch -D dev
git merge dev
git merge dev --no-ff -m "merge with new commit"
git switch -c dev
git switch master
git stash
git stash list
git stash apply stash@{0}
git stash drop stash@{0}
git stash pop
git cherry-pick 4c805e2
git rebase
git tag
git tag v1.0
git tag v0.9 4c805e2
git show v0.9
git tag -a v0.1 -m "message of this tag" 1094abd
git tag -d v1.0
git push origin v1.0
git push origin tags
git tag -d v1.0
git push origin :ref/tags/v1.0
git check-ignore -v App.class
git config --global alias.st status
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"