threads / discuss / 34283

“git remote status” incorrect result

Subject: “git remote status” incorrect result

## tl;dr

One message between Jun 27, 2013 and Jun 27, 2013.

replies: 0people: 1as markdown or json

Hyunho Cho· Jun 27, 2013, 05:25 UTC · lore
i have configured like this

git remote add myremote1 ....... git config --global push.default upstream git branch --set-upstream-to=myremote1/master remote1-master

and git pull, git push in remote1-master work i expected
but "git remote status myremote1" display..
Local ref configured for 'git push':
   master pushes to master (local out of date)
section always display master to master. and status incorrectly
it would be correct:
Local ref configured for 'git push':
   remote1-master pushes to master (up to date)
if i add another remote "myremote2" there is also exist "master" branch
"Local ref configured for 'git push':" section have to display
according to local branch and upstream setting
and remote status correctly i think

← back to recent threads