Inside bash_profile file, I'm trying to pass my git_branch and wants to get the same in my command window

后端 未结 0 820
你的背包
你的背包 2021-01-02 02:46
parse_git_branch(){
     git branch 2 > /dev/null | sed -e\'/^[^*]/d\' -e \'s/*\\(.*\\)/(\\1)/\'
}

For the above method inside .bash_profile file

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