top of page

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!

22 views0 comments

Recent Posts

See All

How To Install Git on Ubuntu 12.04 LTS?

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

Git: How to change most recent commit message?

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