You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, this would be an issue, but I found out the problem at last.
I'm using ProxyCommand=ncat ... in my ssh config, ncat is in PATH, but when I run git push, I got /bin/sh: No such file or directory error. It really took me a lot time finding out what was actually missing. ( I have msys2 installed so this confused me a lot)
The problem is, why the git shell didn't import system PATH environment? If possible, how to do it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Well, this would be an issue, but I found out the problem at last.
I'm using
ProxyCommand=ncat ...
in my ssh config,ncat
is inPATH
, but when I rungit push
, I got/bin/sh: No such file or directory
error. It really took me a lot time finding out what was actually missing. ( I have msys2 installed so this confused me a lot)The problem is, why the git shell didn't import system
PATH
environment? If possible, how to do it?Edit: not reproducible with pure
mingit
Beta Was this translation helpful? Give feedback.
All reactions