“git remote status” incorrect result
- From
- Hyunho Cho <mug896@gmail.com>
- Date
- Jun 27, 2013, 05:25 UTC
- Message-ID
- <CAMMw471Duu075CoC=jw3ZKpcEq0Lonv1NkzyW41v8dR39ZN=Zg@mail.gmail.com>
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