How to “Open in Git Bash” in Github Desktop

前端 未结 1 1873
遇见更好的自我
遇见更好的自我 2021-01-15 14:50

In the dropdown menu of Repository, you can see there is a button named Open in Git Bash (Ctrl + `),

when I click it, I got a war

相关标签:
1条回答
  • 2021-01-15 15:40

    To make Github Desktop locate Git successfully, the URI of Git must be given in environment variable %PATH%.

    I suggest to assign %GitPath% value of URI of Git, say C:\Program Files\Git\bin; then append %GitPath% to the end of %PATH%, and don't forget about path seperator (;).

    At last, restart Github Desktop after assigning the environment variables, if it is still running.

    Reference:

    • Cannot specify GIT binary directory · Issue #5454 · desktop/desktop
    0 讨论(0)
提交回复
热议问题