git-back
- Undo and Stage latest commits
git-back
[<commitcount>]
Deprecated. Use 'git undo --soft [commitcount]' instead.
Removes the latest commits, and add their changes to your staging area.
<commitcount>
Number of commits to remove. Defaults to 1, thus remove the latest commit.
Removes the latest commit.
$ git back
Remove the latest 3 commits:
$ git back 3
Written by Kenneth Reitz <me@kennethreitz.com>
<https://github.com/tj/git-extras/issues>
<https://github.com/tj/git-extras>