乐趣区

git命令

git cherry-pick [commit 号]

把一个 commit 复制一份到当前分支。

git reflog

HEAD 曾经指向过的 commit 的历史。

git push origin :[分支号]

删除远端仓库的某个分支

git --amend --author='zhangsan'

修改 commit 的 author

git rebase -i [commit 号]

通过修改 commit 列表 rebase

退出移动版