如图是git跟svn在终端prompt里的显示分支问题。
但是我现在是用git-svn的,如果显示的话都是git的branch,有没有办法在prompt里提示我这个分支是使用git-svn的模式呢??
ringa_lee
You can refer to this question on stackoverflow: How to tell if youre in a git-svn rep...
Then pass PROMPT_COMMAND 修改 PS1.
PROMPT_COMMAND
PS1
You can refer to this question on stackoverflow:
How to tell if youre in a git-svn rep...
Then pass
PROMPT_COMMAND
修改PS1
.