添加某個目錄下的所有改動,包括新增/修改/刪除
git add --all dir
查看兩個提交之間的文件改動
git diff --stat commit1 commit2
推送本地分支到遠程倉庫
git push remote branch
獲取遠程倉庫的改動
git fetch remote
同步遠程倉庫的改動到本地分支
git merge remote_commit
git add --all dir
git diff --stat commit1 commit2
git push remote branch
git fetch remote
git merge remote_commit