11.\" Man page generated from reStructuredText.
22.
3+ .TH "GIT-REVISE" "1" "Jan 05, 2022" "0.7.0" "git-revise"
4+ .SH NAME
5+ git-revise \- Efficiently update, split, and rearrange git commits
36.
47.nr rst2man-indent-level 0
58.
@@ -27,9 +30,6 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2730.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2831.in \\n[ rst2man-indent\\n[ rst2man-indent-level ] ]u
2932..
30- .TH "GIT-REVISE" "1" "Jul 30, 2021" "0.6.0" "git-revise"
31- .SH NAME
32- git-revise \- Efficiently update, split, and rearrange git commits
3333.SH SYNOPSIS
3434.sp
3535\fI git revise \fP [<options>] [<target>]
@@ -50,8 +50,10 @@ writing them when necessary. This allows it to be significantly faster on
5050large codebases, and avoid invalidating builds.
5151.sp
5252If \fI \% \-\- autosquash \fP or \fI \% \-\- interactive \fP is specified, the
53- <target> argument is optional. If it is omitted, \fB git revise \fP will
54- consider a range of unpublished commits on the current branch.
53+ <target> argument may be omitted or given as the special value \fI :option: \-\- root \fP \& .
54+ If it is omitted, \fB git revise \fP will consider a range of unpublished
55+ commits on the current branch. If given as \fI :option: \-\- root \fP , all commits
56+ including the root commit will be considered.
5557.SH OPTIONS
5658.SS General options
5759.INDENT 0.0
@@ -201,6 +203,19 @@ git revise \-i <after\-this\-commit>
201203.UNINDENT
202204.UNINDENT
203205.sp
206+ The special target \fI \-\- root \fP is available to revise everything up to the root
207+ commit:
208+ .INDENT 0.0
209+ .INDENT 3.5
210+ .sp
211+ .nf
212+ .ft C
213+ git revise \- i \-\- root
214+ .ft P
215+ .fi
216+ .UNINDENT
217+ .UNINDENT
218+ .sp
204219An editor will be fired up with the commits in your current branch after the
205220given commit. If the index has any staged but uncommitted changes, a \fB <git
206221index> \fP entry will also be present.
@@ -300,6 +315,6 @@ Code, documentation and other contributions are also welcomed.
300315\fB git \- rebase(1) \fP
301316\fB git \- add(1) \fP
302317.SH COPYRIGHT
303- 2018-2019 , Nika Layzell
318+ 2018-2022 , Nika Layzell
304319.\" Generated by docutils manpage writer.
305320.
0 commit comments