git-heads

1.0.1 • Public • Published

git-heads

A small script that summarizes git branch --all --verbose into a table, so you can see if you need to push or fetch/pull from particular remote and branch combination. Useful if you have many active git remotes and branches.

The HEAD commit hashes of all local branches are shown, with those of any corresponding remotes. Checkmarks are used in place of remote HEAD hashes that are the same the local repo HEAD's.

Use it like a regular git command (i.e. % git heads) when it's installed in your $PATH.

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.

Readme

Keywords

Package Sidebar

Install

npm i git-heads

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

6.6 kB

Total Files

4

Last publish

Collaborators

  • isao