KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
perl-git-prompt
★ 12
Open GitHub ↗
Git extension for the bash prompt
Download README (.md)
Explore Similar Repositories
WS2812B-LED-Driver-ChibiOS
:
LED Driver library for WS2812B. Hardware implementation, no reliance on real time software for timing. Using ChibiOS.
cryptocad
:
Application for scrambling and/or encryption your CAD.
ECSEngine
:
My foray in the world of Entity Component System Engine design.
Cam3HiddenAPIs
:
Sample Android Apps Using Camera 3 Hidden APIs from KitKat (Android v 4.4)
jquery-markdown
:
jQuery Markdown is a jQuery Plugin that provides necessary functions for a markdown editor
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
perl-git-prompt
?
Download (.md)
perl-git-prompt =============== Perl script to show current Git branch and changeset status in the prompt. ## Usage Put the following in your `~/.bashrc` ~~~bash # Add git status to the existing bash prompt GIT_PROMPT_PATH="$HOME/github/perl-git-prompt/git-prompt.pl" if [[ ! "$PS1" =~ "$GIT_PROMPT_PATH" ]]; then export PS1="\$($GIT_PROMPT_PATH)"$PS1 fi ~~~ Examples: ---------  * You are on the **vader** branch. * Your local repo is **+1** commit ahead of the remote * There are **5** files in the staging area  * You are on the **vader** branch. * Your local repo is on the same commit as the remote * There are no files in the staging area Note: ----- This script assumes you have 256 color terminal support. It's 2013, you should have a 256 color terminal. If you still have a 16 color terminal no guarantees how this will look.