[关闭]
@ysongzybl 2015-05-27T20:05:32.000000Z 字数 300 阅读 885

Configure git bash prompt

git bash


  1. Get git-bash-prompt from github:

    1. cd ~
    2. git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt
  2. In the home folder, create bash configuration file

    • for Mac OS, the name is ".bash_profile"
    • for Linux, the name is ".bashrc"
  3. In the bash configuration file
    source ~/.bash-git-prompt/gitprompt.sh
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注