Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change commit message in GitHub,please check the marked section

Tags:

git

github

enter image description hereenter image description here

I am trying to edit this description on Github and cant find any edit button for this,I typed the description when I uploaded this project with GitHub Desktop. Any suggestions on how to edit it?

I want that the commit message will be "A project based on the DAX index" as shown below.

I got to this screen what should I do now?

like image 322
Amitay Tsinis Avatar asked Aug 10 '26 00:08

Amitay Tsinis


1 Answers

There are many ways to rewrite history with git.

  1. Use git commit --amend to change your latest log message.
  2. Use git commit --amend to make modifications to the most recent commit.
  3. Use git rebase to combine commits and modify history of a branch.
  4. git rebase -i gives much more fine grained control over history modifications than a standard git rebase.

Source - https://www.atlassian.com/git/tutorials/rewriting-history

like image 181
Serhii Avatar answered Aug 11 '26 23:08

Serhii



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!