Add git branch name on bash command prompt in docker container

前端 未结 0 1352
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-09 11:28

In my local bash, I could add git branch name on the bash command prompt by adding below code in ~/.bashrc

parse_git_branch() {
     git branch 2> /dev/null |          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题