html tool

2018年1月26日星期五

git commit 修改



https://segmentfault.com/q/1010000000761908

git commit --amend 可以对上一次的提交做修改

git reset HEAD^应该也可以,但还没有测试(https://git-scm.com/book/zh/v1/Git-%E5%B7%A5%E5%85%B7-%E9%87%8D%E5%86%99%E5%8E%86%E5%8F%B2

没有评论:

发表评论