git pull
git push
git add [fileName]
git add .
git commit -m [msg]
git commit -am [msg]
git commit --amend
git checkout [brancnName]
git checkout -b [branchName]
git merge [brachName]
git merge --continue
git merge --abort
git rebase [branchName]
git rebase --continue
git rebase --abort
git branch [fileName]
git branch .
git restore --staged [fileName]
git restore --staged .
git reset --soft HEAD~1
git reset --mixed HEAD~1
git reset --hard HEAD~1 撤销最近一次的commit和add,并执行git branch .(即回到上一次commit状态)
git stash
git stash save [tag]
git stash pop
git stash apply