Skip to content

supporting GitHub Desktop embedded Git #22

@bolson-BnR

Description

@bolson-BnR

Would it be possible to utilize GitHub desktop's embedded Git if the system-wide git is not found? It is a very easy installer for less experienced users to use and would get them up and running faster with a BuildVersion project.

From what I can tell, the integrated install is located at: C:\Users\<user>\AppData\Local\GitHubDesktop\<app-X.X.X>\resources\app\git\cmd\git.exe

Powershell can get to Local AppData without needing the user's name with $env:LOCALAPPDATA, but it would have to look for the latest app version within there to find git.exe. Does this sound like a good idea or is it too risky?

Sourcetree and other clients also have embedded Git, but I think we can just assume those are more advanced users that can set up the system-level Git PATH themselves.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions