【发布时间】:2010-11-20 05:42:50
【问题描述】:
基本上我在使用this,但使用的是 PowerShell 而不是 bash。
我通过 PowerShell 在 Windows 上使用 git。如果可能的话,我希望我当前的分支名称显示为命令提示符的一部分。
【问题讨论】:
-
使用 Git 2.22(2019 年第二季度),不要忘记
git branch --current。
标签: git powershell command-prompt