git-back man page

git-back — Undo and Stage latest commits

Synopsis

git-back [<commitcount>]

Description

Removes the latest commits, and add their changes to your staging area.

Options

<commitcount>

Number of commits to remove. Defaults to 1, thus remove the latest commit.

Examples

Removes the latest commit.

$ git back

Remove the latest 3 commits:

$ git back 3

Author

Written by Kenneth Reitz <me@kennethreitz.com>

Reporting Bugs

<https://github.com/tj/git-extras/issues>

See Also

<https://github.com/tj/git-extras>

Referenced By

git-extras(1).

December 2015