开发者

How doyou Amend the last commit message in git? [duplicate]

开发者 https://www.devze.com 2023-03-10 01:28 出处:网络
This question already has answers here: 开发者_开发技巧 How to modify existing, unpushed commit messages?
This question already has answers here: 开发者_开发技巧 How to modify existing, unpushed commit messages? (27 answers) Closed 3 years ago.

I am using git-svn and I know that svn does not support changing commits

if I haven't yet run git svn dcommit can i still change the last commit message, i left something out of it.

If so, how do you amend the last commit message?

EDIT:

i figured out i can do git commit --amend but is there any problem doing this using svn backend?


There is an issue with svn if you have already updated svn. There is no practical way of rewriting history in svn.

0

精彩评论

暂无评论...
验证码 换一张
取 消