remote

To solve the divergence between git status (which shows only local data) and git remote show origin (which shows "live" remote data) you should run git remote update origin which will update your local tracking branches. It will update your local origin/master to the state of the remote's master.

git remote show origin //compares your local repository with the remote
git status  //compares your local working directory with the current commit of the current branch (aka HEAD). Additionally it compares your local branch with the (local!) tracking copy of the remote branch (origin/master)
git config -l  //in your .git/config file
git branch
git log --oneline 
git log -p 
cat .git/HEAD
git remote -v  //see what url belongs to each remote

results matching ""

    No results matching ""