Reputation: 462
I am juggling different VPNs due to my company's rather fragmented set-up. Is there a way to run a Git Status command WITHOUT checking status against the remotes? I.e. just check local changes? Or an equivalent command? It's a PITA not to be able to just do a Git Status without switching VPNs just to do that.
Upvotes: 0
Views: 51
Reputation: 76519
git status
should check your local branches (e.g. refs/master
) vs your locally fetched cloned remote branches (e.g. refs/origin/master
).
There should be no network traffic when simply issuing git status
. Of course without a git fetch
first, you won't really be comparing to the up-to-date state of the remote.
Upvotes: 3