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.
即使我明确设置了 HOME 环境变量,git bash 也会坚持使用默认文件夹 HOMEDRIVE/HOMEPATH 启动,这是一个网络文件夹。
有没有办法覆盖这种行为?
弄清楚了
问题在于 Git Bash 的快捷方式 - “在文件夹中开始”设置为%HOMEDRIVE%...
%HOMEDRIVE%