git_curate helps you tidy your local git branches more ergonomically.
git_curate alternatives and similar gems
Based on the "CLI Utilities" category.
Alternatively, view git_curate alternatives based on common mentions on social networks and blogs.
Tmuxinator9.7 4.5 git_curate VS TmuxinatorManage complex tmux sessions easily
colorls8.9 6.8 git_curate VS colorlsA Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. :tada:
Ruby/Progressbar6.8 0.0 L4 git_curate VS Ruby/ProgressbarRuby/ProgressBar is a text progress bar library for Ruby.
Terminal Table6.7 2.1 L3 git_curate VS Terminal TableRuby ASCII Table Generator, simple and feature rich.
tty-prompt6.5 0.0 git_curate VS tty-promptA beautiful and powerful interactive command line prompt
HighLine6.4 0.0 L4 git_curate VS HighLineA higher level command-line oriented interface.
colorize6.4 0.0 git_curate VS colorizeRuby string class extension. It add some methods to set color, background color and text effect on console easier using ANSI escape sequences.
Terjira5.3 4.2 L5 git_curate VS TerjiraTerjira is a very interactive and easy to use CLI tool for Jira.
Pastel4.7 0.0 L5 git_curate VS PastelTerminal output styling with intuitive and clean API.
tty-spinner3.9 2.1 git_curate VS tty-spinnerA terminal spinner for tasks that have non-deterministic time frame.
tty-command3.9 0.0 git_curate VS tty-commandExecute shell commands with pretty output logging and capture stdout, stderr and exit status.
tty-progressbar3.8 0.0 git_curate VS tty-progressbarDisplay a single or multiple progress bars in the terminal.
Paint3.6 6.1 L5 git_curate VS PaintRuby gem for ANSI terminal colors 🎨︎ VERY FAST
tty-table2.7 3.5 git_curate VS tty-tableA flexible and intuitive table generator
Tabulo2.7 2.5 git_curate VS TabuloPlain text table generator for Ruby, with a DRY, column-based API
🦠 Kovid2.1 0.0 git_curate VS 🦠 KovidFetch and compare COVID statistics on the CLI.
tty-cursor2.0 3.7 git_curate VS tty-cursorTerminal cursor movement and manipulation of cursor properties such as visibility
tty-screen2.0 4.4 git_curate VS tty-screenTerminal screen detection - cross platform, major ruby interpreters
circleci-cli1.9 7.0 git_curate VS circleci-cli:cyclone: CLI client / command line tool for CircleCI
tty-pager1.3 0.0 git_curate VS tty-pagerTerminal output paging - cross-platform, major ruby interpreters
TerminalImage1.0 4.8 git_curate VS TerminalImage:desktop_computer: Show high resolution images on your terminal !
XDG1.0 6.4 git_curate VS XDGProvides an implementation of the XDG Base Directory Specification.
Irasutoya0.8 4.2 git_curate VS Irasutoya:woman: CLI tool for いらすとや
Sapristi0.2 0.0 git_curate VS SapristiElegant way to organize your windows in a linux multi monitor environment
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of git_curate or a related project?
After a while, my local repo becomes cluttered with branches, and
git branch outputs an awkwardly
long list. I want to delete some of those branches to bring that list back under control; but I
can’t always remember which branches I want to keep from the branch names alone; and inspecting them
one at a time and then running
git branch -D in a separate step, is painful.
git curate is intended to ease this pain. It steps you through the local branches of a repo one at
a time, outputting the following information about each:
- Last commit date
- Last commit hash
- Last commit author
- Last commit subject
- Whether the branch has been merged into the current HEAD
- The status of the branch relative to the upstream branch it is tracking (if any)
You can then select whether to delete or keep each branch as you go.
git curate does not run
git fetch prior to generating its output. If you want to
be sure that the “Status vs upstream” column reflects the latest state of the upstream branches
as per their remote repository, you should run
git fetch first.
You’ll need Ruby (v2.4.9 or greater) installed. Run:
gem install git_curate
to install the executable.
From within a git repo, run:
This will step you through your local branches one at a time, outputting some information about each, and asking you whether to keep or delete each branch.
At each branch, enter “k”—or simply press Enter—to keep the branch and move to the next one; or enter “d” to select the branch for deletion.
Entering “e” will end the session immediately, deleting all selected branches; and “a” will abort the session without deleting any branches. Once the final branch has been considered, any selected branches will be immediately deleted.
Note the branch you are currently on will not be included in the list, as
git does not allow you to delete
the branch you’re on. (The same applies to any branches that are currently checked out in other
If you just want to view the information about your local branches without stepping through
them interactively, enter
git curate --list or
git curate -l. Your current branch will
be included in this list in this case.
Bug reports and pull requests are welcome on GitHub.
To start working on
git clone and
cd into your fork of the repo, then run
To run the test suite, run
bundle exec rake spec. For a list of other Rake tasks, run
bundle exec rake -T.
The gem is available as open source under the terms of the MIT License.
*Note that all licence references and agreements mentioned in the git_curate README section above are relevant to that project's source code only.