My remote repository is on a private network and I must use a VPN to reach it. If I do not connect to the VPN....
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
If I then connect to the VPN...
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
The problem is that I know there are changes in the remote repo. If I then do...
$ git pull
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 6), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From gitlab.corp.local:jschank/capitol-connect-dev
f3d1e85..2f3ee1b master -> origin/master
Updating f3d1e85..2f3ee1b
Fast-forward
Vagrantfile | 7 ++++++-
provisioning/puppet/capitol-connect.pp | 4 ++--
provisioning/shell/setup-symlinks.sh | 19 +------------------
3 files changed, 9 insertions(+), 21 deletions(-)
Why is git status not reporting that my local repo is behind my remote? What am I missing here? It kinda renders git status completely unreliable.
$ git --version
git version 2.2.1