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

Git remote status

From
GGonsolo <gonsolo@gmail.com>
Date
Nov 1, 2008, 19:52 UTC
Message-ID
<490CB390.9000206@gmail.com>
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
Next: Miklos Vajna
Message 1 of 3 in “Git remote status”
  1. GonsoloNov 1, 2008
  2. Miklos VajnaNov 1, 2008
  3. Jeff KingNov 2, 2008

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.