Change the wrong commit message in Git
11871
How to modify existing, unpushed commit messages?
68159
Is there a way to make Git mark a file as conflicted?
82533
Combine the first two commits of a Git repository?
59710
Edit the root commit in Git?
7597
How do I undo the most recent local commits in Git?
23408
How to change the author and committer name and e-mail of multiple commits in Git?
144299
Move commits from master onto a branch using git
57231
Restore a file's modification time in Git
147234
Add all files to a commit except a single file?
16239
How do I make a Git commit in the past?
28736
Mercurial: how to amend the last commit?
12943
How to discard local commits in Git?
74671
How to make Git ignore changes I'm making to a file (under source control)?
150319
How to require confirmation for git reset --hard?
35854
Link to the issue number on GitHub within a commit message
9725
Correct user names when tracking /etc/ in git repository and committing as root
63809
How does git detect that a file has been modified?