First rebase to the commit right before the one you want to change. Make the change. Commit. Rebase back. http://stackoverflow.com/questions/1186535/how-to-modify-a-specified-commit You can use git rebase, for example, if you want to modify back to commit bbc643cd, run $ git rebase –interactive bbc643cd^ In the default editor, modify ‘pick’ to ‘edit’ in the line whose commit you …