tj.git-extras/git-undo.md
Tj Holowaychuk 759312c402 Docs
2010-10-31 18:42:52 -07:00

39 lines
602 B
Markdown

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 &lt;<me@kennethreitz.com>&gt;
## REPORTING BUGS
&lt;<http://github.com/visionmedia/git-extras/issues>&gt;
## SEE ALSO
&lt;<http://github.com/visionmedia/git-extras>&gt;