git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gonsolo <gonsolo@gmail.com>
To: git@vger.kernel.org
Subject: Git remote status
Date: Sat, 01 Nov 2008 20:52:48 +0100	[thread overview]
Message-ID: <490CB390.9000206@gmail.com> (raw)

Hi!

If I switch branches with "git checkout master" git tells me something 
like "Your branch is ahead of the tracked remote branch 'origin/master' 
by 39 commits".
Is there a "git remote status" or git-status switch to get the same 
information without switching branches?
Sometimes it's valuable whether one should push changes (for example 
before installing a new Ubuntu version ;) ).

Thank you,

g

             reply	other threads:[~2008-11-01 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-01 19:52 Gonsolo [this message]
2008-11-01 20:11 ` Git remote status Miklos Vajna
2008-11-02  3:30 ` Jeff King

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490CB390.9000206@gmail.com \
    --to=gonsolo@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.
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).