Editing the git commit message in GitHub

后端 未结 7 837
臣服心动
臣服心动 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:41

    I was facing the same problem.

    See in your github for a particular branch and you will come to know the commit id of the very first commit in that branch. do a rebase to that:

    git rebase -i

    editor will open up. Do a track of your commits from github UI and opened editor and change the messages.

提交回复
热议问题