Support icon indicating copy to clipboard operation
Support copied to clipboard

Couldn't find git

Open Hankslab-ABG opened this issue 3 years ago • 5 comments

Greetings,

I'm relatively new to git and want to use GitFiend to help with merge conflicts (as this is a pain in GitBash). I had GitFiend working but had to force close it and git after it froze switching between branches. When I tried opening it again, it couldn't not find git. I uninstalled git and GitFiend, installed the newest version of git, but GitFiend still can't find it. Is there some way to point it to the correct directory or do I need to do some sort of more thorough uninstall of git and/or GitFiend?

Thanks,

Adam

Hankslab-ABG avatar Oct 24 '22 19:10 Hankslab-ABG

Hi @Hankslab-ABG, sorry to hear about your trouble.

It sounds like you are using Windows?

If you run git --version in cmd.exe you should see a version printed out. If this works then GitFiend should also work.

I'm surprised to hear it froze when you were switching branches, though this could mean you were on version 0.37. The latest version is 0.38 which should hopefully fix issues with the progress dialog never finishing.

GitFiend avatar Oct 24 '22 21:10 GitFiend

Thanks for your quick reply.

When I run that command in gitBash I get git version 2.38.1.windows.1. The command doesn't work in command prompt. Is that perhaps part of the issue?

Hankslab-ABG avatar Oct 24 '22 22:10 Hankslab-ABG

Yeah, it means that git isn't set in Path in your environment variables. I think the git installer asks whether you want it added when you run it and maybe you said no or that you only want to use gitbash? Otherwise you can add it manually in system settings.

GitFiend avatar Oct 24 '22 22:10 GitFiend

It could be this: image I think GitFiend won't work if you select option 1.

GitFiend avatar Oct 25 '22 00:10 GitFiend

This did the trick! I had actually tried to add the path to the environment variables manually, but I had just pointed it to the git folder itself rather than the cmd subfolder within it. Once I changed it I was able to get GitFiend to load again.

Thanks so much! Looking forward to using this again.

Hankslab-ABG avatar Oct 25 '22 16:10 Hankslab-ABG