git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push doesn't update the status with multiple remotes
@ 2016-07-11 16:54 Garoe
  2016-07-12  5:26 ` Johannes Sixt
  0 siblings, 1 reply; 3+ messages in thread
From: Garoe @ 2016-07-11 16:54 UTC (permalink / raw)
  To: git

Hello,

I'm using git 1.9.1 in Ubuntu 14.04.

I have a repository on github, a clone on my desktop and bare repo on a 
private server, in my desktop the remotes looks like this

all	git@github.com:user/repo.git (fetch)
all	git@github.com:user/repo.git (push)
all	user@server.com:user/repo.git (push)
server	user@server.com:user/repo.git (fetch)
server	user@server.com:user/repo.git (push)
origin	git@github.com:user/repo.git (fetch)
origin	git@github.com:user/repo.git (push)

If I commit to master in my desktop and run 'git push all master', the 
github and the server repos are correctly updated, but if I run 'git 
status' the message says:

Your branch is ahead of 'origin/master' by 1 commit.
   (use "git push" to publish your local commits)

The message won't update unless I run git fetch or git push origin master.
I'd expect the git status to give me a updated status message after 
calling 'git push all master'.

Best regards,
Garoe



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-12  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-11 16:54 git push doesn't update the status with multiple remotes Garoe
2016-07-12  5:26 ` Johannes Sixt
2016-07-12  8:44   ` Garoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).