Git help: Difference between revisions
Jump to navigation
Jump to search
(Uus lehekülg: '== Git on linux == === show current branch in terminal === <syntaxhighlight lang="bash"> PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 " (%s)") \[\033[01;34m\]...') |
(No difference)
|
Revision as of 07:47, 22 December 2011
Git on linux
show current branch in terminal
PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 " (%s)") \[\033[01;34m\]$\[\033[00m\] '