[Ilugc] ILUGC Monthly Meet ( August 9, 2014 )

  • From: shakthimaan@xxxxxxxxx (Shakthi Kannan)
  • Date: Mon, 11 Aug 2014 08:51:47 +0530

Hi,

--- On Fri, Aug 8, 2014 at 4:17 PM, Shanthakumar <mail at shanth.tk> wrote:
| Topic: git basics
\--

Few suggestions:

#1 If you use the shell, and would like to view the git branch at the
command prompt, add the following to your .bashrc (or appropriate
init) file:

export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\]
\w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] '
. /home/user/.git-prompt.sh

You can get the .git-prompt.sh  from:

  https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh

#2 You can also use my git presentation:

  http://shakthimaan.com/downloads.html#di-git-ally-managing-love-letters

Regards,

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

Other related posts: