Skip to content
/ git-heads Public

Summarize `git branch -av` in a table

License

Notifications You must be signed in to change notification settings

isao/git-heads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-heads

A small script that summarizes git branch --all --verbose into a table, something like:

% cd my/git/repo
% git heads

screenshot

The HEAD commit hashes of all local branches are shown, with those of any corresponding remotes. Checkmarks are used for hashes that are the same as the one to it's left.

Use it like a regular git command to see how the HEADs of your local and remote branches compare. Useful if you have many active git remotes and branches.

install

npm i -g git-heads

acknowledgments

Table formatted using Guillermo Rauch's cli-table.

See also michaelklishin/git-wtf, drewfish/git-moo, et al.

license

Copyright (c) 2012 Yahoo! Inc. All rights reserved. Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.

About

Summarize `git branch -av` in a table

Resources

License

Stars

Watchers

Forks

Packages

No packages published