摘要:
我们在终端操作git的时候,是可以实时的get到当前所在的分支的操作文件:~/.bash_profile加入以下代码:## Parses out the branch name from .git/HEAD:find_git_branch () { local dir=. head until ... 阅读全文
posted @ 2015-07-01 11:29
堂Di
阅读(506)
评论(0)
推荐(0)
|
摘要:
我们在终端操作git的时候,是可以实时的get到当前所在的分支的操作文件:~/.bash_profile加入以下代码:## Parses out the branch name from .git/HEAD:find_git_branch () { local dir=. head until ... 阅读全文
posted @ 2015-07-01 11:29
堂Di
阅读(506)
评论(0)
推荐(0)
|