0

When I open git bash I get the following message:

bash: __gitps1: command not found
[markd@LAPTOP-45NDNEGM ~]$

I can't seem to use git bash at all, but git cmd works fine. Unfortunately I can't gennerate an ssh key without git bash so I can't use git at all. I've uninstalled git several times and I have no idea how to fix the issue. When I search for similar errors I see "git_ps1", but I'm getting "gitps1". Any help would be greatly appreciated.

Thanks, Mark

Mark Druffel
  • 109
  • 9
  • check this post https://stackoverflow.com/q/15384025/1860929 – Anshul Goyal May 03 '18 at 22:04
  • It shouldn't prevent you from using bash. You get an error message setting the prompt, but if your `$PS1` contains something like `'$(__gitps1)`, it will just pretend the output as the empty string. It's annoying (and fixable), but you still have a working shell. – Keith Thompson May 03 '18 at 22:15
  • Thank you @KeithThompson! I must have screwed something up when I wrote my ssh request because it threw an error and I assumed I had a bigger issue. – Mark Druffel May 03 '18 at 22:28

0 Answers0