I want to edit summary of old commit in GitHub desktop. There looks no option to edit. I hope there is a way with GUI. But please let me know commands if there is no way without it.
Asked
Active
Viewed 1,417 times
1 Answers
0
There looks no option to edit. I hope there is a way with GUI
There isn't an option due to the fact it isn't a feature set of Git.
Changing a commit message, indicates that modifying the commit summary, you are actually submitting a new commit.
In Git, the text of the commit message is part of the commit. Changing the commit message will change the commit ID--i.e., the SHA1 checksum that names the commit. Effectively, you are creating a new commit that replaces the old one.
Ramhound
- 44,080