Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (52 sloc) 832 Bytes
.\" generated with Ronn/v0.7.3
.\" https://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-BACK" "1" "July 2012" "" ""
.
.SH "NAME"
\fBgit\-back\fR \- Undo and Stage latest commits
.
.SH "SYNOPSIS"
\fBgit\-back\fR [<commitcount>]
.
.SH "DESCRIPTION"
Removes the latest commits, and add their changes to your staging area\.
.
.SH "OPTIONS"
<commitcount>
.
.P
Number of commits to remove\. Defaults to \fI1\fR, thus remove the latest commit\.
.
.SH "EXAMPLES"
Removes the latest commit\.
.
.IP "" 4
.
.nf
$ git back
.
.fi
.
.IP "" 0
.
.P
Remove the latest 3 commits:
.
.IP "" 4
.
.nf
$ git back 3
.
.fi
.
.IP "" 0
.
.SH "AUTHOR"
Written by Kenneth Reitz <\fIme@kennethreitz\.com\fR>
.
.SH "REPORTING BUGS"
<\fIhttp://github\.com/visionmedia/git\-extras/issues\fR>
.
.SH "SEE ALSO"
<\fIhttp://github\.com/visionmedia/git\-extras\fR>
Jump to Line
Something went wrong with that request. Please try again.