Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

A simple Bash prompt for Git and SVN

Changes your normal Bash prompt which may look something like this:

user@hostname:~/project$

into this:

user@hostname ~/project git::master u= $

How it works

This script relies on the functions provided by subversion (for the SVN prompt) and git-completion (for the Git prompt). The script will automatically detect if the current directory is part of a SVN or Git checkout, and change accordingly. The script also uses grep, (g)awk and sed.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages