From: Garoe <garoedp@gmail.com>
To: git@vger.kernel.org
Subject: git push doesn't update the status with multiple remotes
Date: Mon, 11 Jul 2016 17:54:47 +0100 [thread overview]
Message-ID: <5783CF57.1010105@gmail.com> (raw)
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
next reply other threads:[~2016-07-11 16:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 16:54 Garoe [this message]
2016-07-12 5:26 ` git push doesn't update the status with multiple remotes Johannes Sixt
2016-07-12 8:44 ` Garoe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5783CF57.1010105@gmail.com \
--to=garoedp@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).