How can I make a Git commit that inverts a previous commit?
35476
How do I revert a Git repository to a previous commit?
48984
Combine or rebase an arbitrarily large number of commits
150648
How can I tell if one commit is a descendant of another commit?
18114
How to modify a specified commit?
28736
Mercurial: how to amend the last commit?
79315
How to amend a commit without changing commit message (reusing the previous one)?
99229
How do I copy a version of a single file from one Git branch to another?
53222
Undoing a 'git push'
11257
How do I clone a single branch in Git?
146835
Can a git submodule be created retroactively?
7485
How can I undo git reset --hard HEAD~1?
138437
How to tell git to ignore individual lines, i.e. gitignore for specific lines of code
75936
How to make git mark a deleted and a new file as a file move?
43278
Undo a particular commit in Git that's been pushed to remote repos
89896
Make the current commit the only (initial) commit in a Git repository?
100546
How do I push amended commit to the remote Git repository?
122314
How to undo "git commit --amend" done instead of "git commit"