Project

branches

0.0
No commit activity in last 3 years
No release in over 3 years
A command-line tool to show a list of git branches by date
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.7
~> 10.0
 Project Readme

Branches

A simple command-line utility to list your git branches by date.

I've Googled way too many times how to list your git branches by date and since the command is too complicated to actually remember or type out I decided to make this a ruby gem that you can execute from the command line.

I tend to create a lot of branches, but I can never remember the exact names and typing git branch doesn't sort by date.

This is the stackoverflow page I kept referring to all the time.

Installation

Install it yourself as:

$ gem install branches

Usage

Just type:

$ branches

from the command line inside of a git repo.

If you have a lot of branches you can combine(pipe) branches with the head command like this:

$ branches | head

Contributing

  1. Fork it ( https://github.com/oblakeerickson/branches/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request