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?