- Run below command in terminal to open the file.
sudo vim ~/.bash_profile
- Add below code and save the file.
# Display current Git branch in terminal prompt. 45 more words
Tags » Git
To manage a software project a few tools are needed, without any doubt the source control system is the main one.
Nowadays there are several free options hosted in the cloud, which are great if you a have a college project and you want to share it with your team, but, if what you need is a private repo for real, running on your local network then this tutorial may help. 553 more words
Below are pretty useful Git alias …..
compdef _git ggpur=git-checkout
alias gignore='git update-index --assume-unchanged'
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk' 421 more words