Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Path and filename of the git executable #1151

Closed
Hirse opened this issue Oct 25, 2018 · 3 comments
Closed

Configure Path and filename of the git executable #1151

Hirse opened this issue Oct 25, 2018 · 3 comments

Comments

@Hirse
Copy link
Contributor

Hirse commented Oct 25, 2018

Based on Hirse/vscode-ungit#63, is it possible to set the path to git as a CLI parameter?

ungit --gitPath=/a/b/c/git
@jung-kim
Copy link
Collaborator

Hm, it sounds more like the navigation part of the ungit within vs code right?

You could extract git.path and pass it to the url to navigate to it? http://127.0.0.1:8080/#/repository?path=%2Fgit%2Fpath

There is also the forcedLaunchPath config

@Hirse
Copy link
Contributor Author

Hirse commented Oct 27, 2018

This is not about the path to the repository, but the path to the git executable like C:\\Users\\Hirse\\AppData\\Local\\Programs\\Git\\cmd\\git.exe.

I think the use case from the linked issue is using VSCode with Ungit without installation (or from a USB drive). In that case, git might not be in the path, so they would like to set the path to it.

@Hirse
Copy link
Contributor Author

Hirse commented Apr 4, 2019

I guess this was done in dbd54ad for v1.4.36, right?

@Hirse Hirse closed this as completed Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants