git push doesn't update the status with multiple remotes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx:user/repo.git (fetch)
all	git@xxxxxxxxxx:user/repo.git (push)
all	user@xxxxxxxxxx:user/repo.git (push)
server	user@xxxxxxxxxx:user/repo.git (fetch)
server	user@xxxxxxxxxx:user/repo.git (push)
origin	git@xxxxxxxxxx:user/repo.git (fetch)
origin	git@xxxxxxxxxx: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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]