This commit is contained in:
qianguyihao
2018-07-01 09:48:21 +08:00
parent 7e0e20aacc
commit d41890c8d0
3 changed files with 61 additions and 2 deletions

View File

@@ -128,6 +128,24 @@ git自动合并成功。不管是git自动合并成功还是在人工解决
### 修改已经push的某次commit的作者信息
已经push的记录如果要修改作者信息的话只能 通过--force命令。
参考链接:
- [git 修改已提交的某一次的邮箱和用户信息](https://segmentfault.com/q/1010000006999861)
看最后一条答案。
- [修改 git repo 历史提交的 author](http://baurine.github.io/2015/08/22/git_update_author.html)
### 将 `branch1`的某个`commit1`合并到`branch2`当中
切换到branch2中然后执行如下命令