Undo last commit, but leave repository unchanged
7597
How do I undo the most recent local commits in Git?
75936
How to make git mark a deleted and a new file as a file move?
41252
How do I make Git use the editor of my choice for commits?
37401
Undo working copy modifications of one file in Git?
13396
How can I reset or revert a file to a specific revision?
141678
git: squash/fixup earlier commit
139103
Is is possible to skip the confirmation step while adding a repository?
158570
Untrack files from git temporarily
55110
Break a previous commit into multiple commits
82444
How to remove/delete a large file from commit history in Git repository?
34283
How can I prevent Subversion commits without comments?
94501
How do I reduce the size of a bloated Git repo by non-interactively squashing all commits except for the most recent ones?
15543
git merge: Removing files I want to keep!
135464
What is the best way to roll-back a change set using Subversion?
120
How do I restore the default repositories?
27112
How can I remove a commit on GitHub?
12943
How to discard local commits in Git?