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

Git workflow with upstream repository

From
Bradley Wagner <bradley.wagner@hannonhill.com>
Date
Jul 24, 2010, 00:58 UTC
Message-ID
<AANLkTinyUGLMTQ=ruk69pptDUQ3VyaQ7CwtO+QfeJUVC@mail.gmail.com>

Hi, I'm trying to figure out the best way to work with two remote repositories: one origin and an upstream repository.

Basically, with one remote origin I do 'git fetch' and then a 'git status' which tells me my status as compared to my remote at which point I decide wether I want to rebase or pull/merge.

If I'm working with another remote repository 'upstream' that I perhaps don't have permissions to and then my branches are not tracking against, how would I do something similar to be able to first see how my branch compares to the remote and then either rebase or pull/merge.

Am I missing something in git status that allows me to see my status as compared to another remote?

Next: Avery Pennarun
Message 1 of 4 in “Git workflow with upstream repository”
  1. Bradley WagnerJul 24, 2010
  2. Avery PennarunJul 24, 2010
  3. Bradley WagnerJul 24, 2010
  4. Avery PennarunJul 24, 2010

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.