Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我修改了文件并且我没有创建提交,我想要一个指示器。任何想法?
我安装了逃犯,很酷,但我只有分支的名称。
您可以使用 git-prompt 来满足您的要求。
https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
脚本中的注释解释了如何进行这项工作。