1、常用git使用命令
git fetch origin dev_fermat_tfc_spgr_fetchskip
git checkout dev_fermat_tfc_spgr_fetchskip
git pull
git log
git log --stat --author username
git commit file_name -m "说明"
git commit file_name -i -m "说明"
git push
git restore
git restore --staged
git add -p file_name
git checkout ${commit} /path/to/file
git show -2 file | tee show.log
git log -n 3 --stat
git log -p filename
git log filename
git checkout -b br_name
git branch br_name
git checkout br_name
git push origin br_name
git branch --set-upstream-to=origin/br_name
git merge --abort 取消当前merge
git branch
git branch -vv
git checkout dst_branch
git pull origin merge src_branch
git mergetool --tool=gvimdiff
git branch -d br_name
git push origin :br_name
git stash
git stash list
[https://www.cnblogs.com/tocy/p/git-stash-reference.html](https://www.cnblogs.com/tocy/p/git-stash-reference.html)
git-stash用法小结