tj.git-extras/man/git-undo.md
2010-10-31 11:41:30 -07:00

602 B

git-undo(1) -- Remove latest commits

SYNOPSIS

git-undo [<commitcount>]

DESCRIPTION

Removes the latest commits.

OPTIONS

<commitcount>

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

EXAMPLES

Removes the latest commit.

$ git undo

Remove the latest 3 commits:

$ git undo 3

AUTHOR

Written by Kenneth Reitz <me@kennethreitz.com>

REPORTING BUGS

<http://github.com/visionmedia/git-extras/issues>

SEE ALSO

<http://github.com/visionmedia/git-extras>