Scroll to navigation

GIT-UNDO(1) Git Extras GIT-UNDO(1)

NAME

git-undo - 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>
June 2012