top of page
index-1-1.jpg

Git: Can I change/edit old (pushed) commit messages deep in the history?

Short answer: You can not (if pushed)


You might be wondering why it isn't allowed:


Well its all about trust. Since you can't change the commit messages after pushing means you can trust them! If you allow people to change messages deep in the history then it means they are not trustworthy!

7 views0 comments

Recent Posts

See All

This step by step guide will teach you how to install Git on Ubuntu 12.04 About Git Git is a distributed version control system (DVCS) designed and developed by Linus Torvalds (yes same guy who made L

You can edit commit message on Git in 3 ways.It's possible to change ONLY the most recent commit message simply by doing this: 1 - Git Amend Message: git commit --amend 2 - Git Push/Pushing Message: (

bottom of page