Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

github for windows - Where is git.exe located?

I have PyCharm and I am looking around trying to find git.exe to set it up with my repo.

What is the PATH to git.exe?

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you're using GitHub for Windows, git.exe may not be in your PATH, but you may find it in a location like: C:Users<username>AppDataLocalGitHubPortableGit_<numbersandletters>ingit.exe

That's the situation for me, in Windows 7 + version 1.0 of GitHub for Windows.

In Windows 10 it appears to be in:

C:Users<username>AppDataLocalGitHubPortableGit_<numbersandletters>cmdgit.exe

( cmd versus in)

From GitHub Desktop 1.1

The UI is different and the Git path now is in:

C:Users<username>AppDataLocalGitHubDesktopapp-<appversion> esourcesappgitcmdgit.exe

PS: AppData is a hidden folder by default.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...