mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
* feat: add reverse option to git-brv When there are a large amount of branches it is often useful to see the most recent branches last as they end up closer to the prompt. This adds a new --reverse / -r option and an environment variable to set the default behavior (GIT_BRV_REVERSE). * git-brv: change to git option instead of environment variable and fix typo * wrap git option in backticks for git-brv and fix git-feature title * update git-feature docs * fix missing breaks in git-feature.md
59 lines
1.5 KiB
Groff
59 lines
1.5 KiB
Groff
.\" generated with Ronn/v0.7.3
|
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
.
|
|
.TH "GIT\-BRV" "1" "December 2023" "" "Git Extras"
|
|
.
|
|
.SH "NAME"
|
|
\fBgit\-brv\fR \- List branches sorted by their last commit date
|
|
.
|
|
.SH "SYNOPSIS"
|
|
\fBgit\-brv\fR [\-r|\-\-reverse]
|
|
.
|
|
.SH "DESCRIPTION"
|
|
Pretty listing of branches sorted by the date of their last commit\.
|
|
.
|
|
.SH "OPTIONS"
|
|
\-r | \-\-reverse
|
|
.
|
|
.P
|
|
Reverses the output to put the most recent branch at the bottom of the list\. This is useful when there are large amount of branches as the most recent branch is shown just above the next prompt\. This can be configured as the default by setting \fBgit\-extras\.brv\.reverse\fR to true in your git options\.
|
|
.
|
|
.SH "EXAMPLES"
|
|
Simply run \fBgit brv\fR
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
$ git brv
|
|
2020\-01\-14 adds\-git\-brv fork/adds\-git\-brv 1ca0d76 Fixes #700: Adds git\-brv
|
|
2020\-01\-08 master origin/master 265b03e Merge pull request #816 from spacewander/git\-sed\-pathspec
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
To display the rows in reverse order: \fBgit brv \-\-reverse\fR
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
$ git brv \-\-reverse
|
|
2020\-01\-08 master origin/master 265b03e Merge pull request #816 from spacewander/git\-sed\-pathspec
|
|
2020\-01\-14 adds\-git\-brv fork/adds\-git\-brv 1ca0d76 Fixes #700: Adds git\-brv
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "AUTHOR"
|
|
Written by Øsse <\fIhttps://github\.com/Osse\fR>
|
|
.
|
|
.SH "REPORTING BUGS"
|
|
<\fIhttps://github\.com/tj/git\-extras/issues\fR>
|
|
.
|
|
.SH "SEE ALSO"
|
|
<\fIhttps://github\.com/tj/git\-extras\fR>
|