Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

git-brv - Man Page

List branches sorted by their last commit date

Examples (TL;DR)

Synopsis

git-brv [-r|--reverse]

Description

Pretty listing of branches sorted by the date of their last commit.

Options

-r | --reverse
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 git-extras.brv.reverse to true in your git options.

Examples

Simply run git brv

$ 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

To display the rows in reverse order: git brv --reverse

$ 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

Author

Written by Øsse <https://github.com/Osse>

Reporting Bugs

<https://github.com/tj/git-extras/issues>

See Also

<https://github.com/tj/git-extras>

Referenced By

git-extras(1).

December 2023 Git Extras