Editing the git commit message in GitHub

后端 未结 7 812
臣服心动
臣服心动 2020-12-07 09:25

Is there any way of online editing the commit message in GitHub.com, after submission?

From the command line, one can do

git commit --am         


        
7条回答
  •  感情败类
    2020-12-07 09:38

    You need to git push -f assuming that nobody has pulled the other commit before. Beware, you're changing history.

提交回复
热议问题