git/list[1] front-page[2] threads[3] people[4] search[5] about
 

“git remote status” incorrect result

From
HCHyunho 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
Message 1 of 1 in ““git remote status” incorrect result”
  1. Hyunho ChoJun 27, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.