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 branch
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 branch -b br_name
git branch br_name
git checkout br_name
git push orgin br_name
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查看提交修改的文件列表