nickola / web-console

:desktop_computer: Simple web-based shell in your browser (outdated)
https://nickola.ru/projects/web-console
1.55k stars 350 forks source link

Different GIT versions? #41

Open dnavarrojr opened 6 years ago

dnavarrojr commented 6 years ago

When I use SSH to access the console on my web server with the web account and I do:

git --version

I get v2.15.1

When I do it from the console I get v1.8.3.1

Why are the versions different? I checked "id" and it's the same account, just different results based on where I execute it from.

dnavarrojr commented 6 years ago

which git shows /usr/bin as the location. So when I go to "/usr/bin/" and do a git --version I see the 1.8.x version.

When I SSH into the server as the web account and go to "/usr/bin/" and do a git --version it shows the latest version.

How is web-console finding/running an old version of GIT?