1、修改最后一次提交的注释
git commit --amend
2、补丁问题
生成git patch :git format-patch -n <commit_id>
运用git patch:git am <commit_id>.patch
3、git reset <commit_id> 将commit的信息去掉,修改依然保留
git reset --hard <commit_id> 回退到指定的commit_id,不保留修改
4、git cherry-pick <commit_id>
git branch xxx
git checkout xxx
git diff
git status
git commit -am "xxxxxx"
git log-graph
git 断点续传
git init
git fetch http://android.git.kernel.org/common.git
git branch -a
git checkout remotes/....