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

Git fork selecting custom git instance doesn't change #121

Open
efsjouw opened this issue Mar 17, 2022 · 6 comments
Open

Git fork selecting custom git instance doesn't change #121

efsjouw opened this issue Mar 17, 2022 · 6 comments

Comments

@efsjouw
Copy link

efsjouw commented Mar 17, 2022

I used the install.bat with a successful installation and placed the wslgit.exe somewhere on my machine and added it to PATH.

However when I try to set a custom git instance in Fork it doesn't appear to change?

image

EDIT - Ah am a little stupid, didn't notice the symlinks were 0 bytes? Maybe the setup is sort of unclear to me?

@carlolars
Copy link
Contributor

Symlinks are 0 kB size, that is correct.

But since you have the resources folder I guess that you cloned this repository? Easiest is to just download the latest release zip from https://github.com/andy-5/wslgit/releases/latest and extract, and from there run the install.bat script :)

@Patrick-clone
Copy link

I have the same problem. I cannot select the bin/git.exe instance in Git Fork. Does anyone have a solution?

@colinshipton
Copy link

I also have the same problem, it used work fine and I had to to make a few updates (git inside WSL and wslgit due to #134) and now it no longer works.

I tried manually editing the GitInstancePath in Fork settings.json file and when starting Fork I get the following error:

System.InvalidOperationException: Process must exit before requested information can be determined.
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_ExitCode()
   at Fork.Git.Interaction.GitRequest.Execute(Boolean silent)

@efsjouw
Copy link
Author

efsjouw commented Feb 7, 2023

With the newest version it appears to work fine with git in wsl now, at least for me (had to make two ssh keys as well, one for wsl and one for windows) fork appears to just use git for windows but it's fine for now. No issues yet (maybe some other isuse was resolved?)

@Stanzilla
Copy link

Doesnt work for me anymore either. Haven't used wslgit in a while and just wanted to try it again today

@Mika-
Copy link

Mika- commented Oct 30, 2023

I had this same thing happen and the problem was missing wslgit.exe under the cmd directory. No idea how zip extraction failed, as it works fine when retrying

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

6 participants