且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Windows上更改Git Bash的默认位置?

更新时间:2022-12-04 16:51:48

安装msysgit I在Windows资源管理器的上下文菜单中有 Git Bash here 选项。所以我只是简单地导航到目录,然后在那里打开Bash。

After installing msysgit I have the Git Bash here option in the context menu in Windows Explorer. So I just simply navigate to the directory and then open Bash right there.

我也复制了默认的 Git Bash 快捷方式到桌面并编辑其开始属性指向我的项目目录。它完美无瑕。

I also copied the default Git Bash shortcut to the desktop and edited its Start in property to point to my project directory. It works flawlessly.

Windows 7x64,msysgit。

Windows 7x64, msysgit.