私信  •  关注

MrTux

MrTux 最近创建的主题
MrTux 最近回复了
6 年前
回复了 MrTux 创建的主题 » 使用Tortoisegit时是否升级Git for Windows?
6 年前
回复了 MrTux 创建的主题 » Github克隆到桌面使用TortoiseGit而不是Github桌面

2.6.0中有一个bug,如果安装时启用了Github处理程序,则会使TortoisGit成为默认值。

要解决此问题,请转到Windows中的默认程序设置,打开“文件类型关联”对话框并设置 github-windows x-github-client 回到官方的Github客户端。也许你必须先更新到TortoiseGit2.7.0。

囊性纤维变性。 https://www.thewindowsclub.com/change-file-associations-windows


你可以试试这条艰难的路是否奏效:(把它当作 .reg 文件并导入,您需要调整路径)

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\github-windows]

[HKEY_CLASSES_ROOT\github-windows]
"URL Protocol"=""
@="URL:github-windows"

[HKEY_CLASSES_ROOT\github-windows\shell\open\command]
@="\"C:\\Users\\USERNAME\\AppData\\Local\\GitHubDesktop\\app-1.4.2\\GitHubDesktop.exe\" --protocol-launcher \"%1\""

[-HKEY_CLASSES_ROOT\x-github-client]

[HKEY_CLASSES_ROOT\x-github-client]
"URL Protocol"=""
@="URL:x-github-client"

[HKEY_CLASSES_ROOT\x-github-client\shell\open\command]
@="\"C:\\Users\\USERNAME\\AppData\\Local\\GitHubDesktop\\app-1.4.2\\GitHubDesktop.exe\" --protocol-launcher \"%1\""