Open zakiaziz opened 6 years ago
Since I don't personally use SSH I'm not sure how to solve this without looking into it. Maybe someone that does could PR? ✌️
+1
It is really confusing when you SSH into a server and then the git info from the path where you started the command is still present.
I can't offer any help, but maybe a simpler solution could be to show the active terminal app or process instead of the git information? So if you start a long running process like run npm run serve
it would show that in the status bar instead of the git info. That would at least avoid the confusion.
After SSH-ing into a remote server and
cd
-ing into a directory that is a git repo status line does not detect that I'm in a git repo and does not show the branch I'm working on.