开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜