使用 Git CMD 代替 Git Bash

Git BashWindows下的使用简直是反人类,在搜索资料之后博主总结出了调出Git自带cmd的方法。
打开注册表编辑器,定位到HKEY_CLASSES_ROOT\Directory\Background\shell
右键shell,新建一个项。命名为git_cmd
进入git_cmd,修改“默认”值为Git Cmd Here
新建一个字符串值Icon,修改为C:\path\to\git\git-cmd.exe
再新建一项,命名为command,修改“默认”值为"C:\path\to\git\git-cmd.exe" "--cd=%v."

使用 Git CMD 代替 Git Bash

https://omn.cc/archives/29.html

作者

空指针

发布于

2023-11-26

更新于

2023-11-26

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×