mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
39 lines
602 B
Markdown
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 <<me@kennethreitz.com>>
|
|
|
|
## REPORTING BUGS
|
|
|
|
<<http://github.com/visionmedia/git-extras/issues>>
|
|
|
|
## SEE ALSO
|
|
|
|
<<http://github.com/visionmedia/git-extras>>
|