Skip to content
comwt edited this page Apr 13, 2013 · 4 revisions

Table of Contents

Welcome

Welcome to the git-info-bar wiki!

External Links

FreeCode.com has my latest git-info-bar posts and quick download links in .tar.gz format
SourceForge.net/projects/git-info-bar
RPM Download - not built by me (based on version 1.1.0)

What is git-info-bar?

git-info-bar is a shell plugin that endeavors to provide a fast and pronounced (highly visible) view of various git attributes when you are under the umbrella of a git repository. Its main feature, the 'info bar' (information bar), displays the following:

- current branch (in 'red' if on master)
- current cksum (in 'red' if there are uncommitted changes and displays an 'uncommitted changes' message in the message area)
- stash count in the message area if you have stashes
The info bar is only displayed when you are in a git repository's path.

git-info-bar provides git shell integration for both *NIX and MS Windows environments.

Installation

Download the latest .tar.gz file.
Open a terminal and change directory where you downloaded the file, then run

 tar -zxf git-info-bar-<version>.tar.gz
 cd git-info-bar
 ./install.sh

Troubleshooting / Known Issues

Two info bars are present

DESCRIPTION:
Two info bars will be present if your shell loads more than one profile at a time. For instance, OpenSUSE (12.2 confirmed) loads both .profile and .bashrc by default.
RESOLUTION:
Remove the git-info-bar 'source' line from one of the profiles.
The line looks as follows:
      if [[ $TERM != '' ]]; then . ~/.git-info-bar/plugin; fi
Alternatively, source the plugin from /etc/profile.d, instead of your local profile(s). At least one Linux distribution is already doing this if you install git-info-bar from the install medium.

Key words

gitbash git-bash git bash bashgit bash-git bash git gitksh git-ksh git ksh kshgit ksh-git ksh git git shell plugin git shell integration