git-info-bar is a ksh, bash, gitbash, and Git shell plugin that endeavors to provide a fast and pronounced 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 information: current branch (in 'red' if on master); current cksum (in 'red' if there are uncommitted changes, and an 'uncommitted changes' message in the message area); and stash count in the message area if you have stashes. It includes an install script and removal scripts. It is currently only tested in Bash, GitBash and ksh93. It was previously named 'bash-git', but the name has been transitioned to 'git-info-bar', as a long-term goal is cross-shell compatibility using a Perl back-end.
| Tags | git shell plugin git integration git |
|---|---|
| Licenses | GPL |
| Operating Systems | Unix Linux Windows |
| Implementation | Perl Unix Shell |
Last announcement
Work is beginning to allow the git-info-bar to show additional (user defined) information on additional info-bar lines. Version 2.0.0 will be the ...
Recent releases


Release Notes: This release has been updated to work with FreeBSD, internalizes more of the code to minimize shell calls, and removes the requirement for the shell built-in "__git_ps1".


Release Notes: Upgrading to this version is advised for improved functionality. The git shell plugin now works when your repository has just been created and there are no commits. A stateless repository does not have an answer to the "git branch" command, therefore the plugin has been updated to use the shell Git function, __git_ps1, instead, which specifies the pseudo default branch name for new branches. The call is slightly more time consuming (2/100's of a second), but is accurate.


Release Notes: This release improved automated deployment of git-info-bar - the installer now accepts an '-f' option that installs without further interaction, and an '-h' option that displays a help message. No changes were made to the git shell plugin.


Release Notes: git-info-bar now works on servers running versions of Git lower than 1.7.0. If you are running git version 1.7.0 or greater, you do not need this update. The 'git status' command did not have the --porcelain option on lower Git versions. This release fixes the issue where changes are not detected and shown on the info bar due to errors running git status --porcelain behind the scenes.


Release Notes: There is no need to install this update if you have git-info-bar installed already and it is working ok. However, if you previously tried git-info-bar and you encountered the following error, then this update may resolve the issue: "Unable to get terminal size The TIOCGWINSZ ioctl didn't work". This release has simplified info bar column handling and cleanup.