how to edit summary of old commits in Github desktop

0

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.

HelpMePLZ

Posted 2019-11-01T18:01:08.800

Reputation: 11

1You do understand that by modifying the edit summary, you will be creating a new commit, which is unlikely what you actually want to do.. The use of the GitHub desktop client does not change this behavior. – Ramhound – 2019-11-01T19:19:19.493

I didn't understand and this is the answer what I wanted. so I want to receive it on answer so I can accept this. – HelpMePLZ – 2019-11-02T02:42:22.927

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

Posted 2019-11-01T18:01:08.800

Reputation: 28 517