Re: Rebasing local patches
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 18, 2009, 15:48 UTC
- Message-ID
- <alpine.DEB.1.00.0903181647540.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <49BA0DBB.7000700@morey-chaisemartin.com>
Hi,
On Fri, 13 Mar 2009, Nicolas Morey-Chaisemartin wrote:
Show 15 quoted lines
> >> I noticed that when the branch was rebased on the centralized and > >> repo and origin/our_patches is up-to-date in mine. > >> > >> If I checkout another branch and then ckecout our_branches, I got a > >> message telling my our_patches and the one from the server have > >> diverged (or you are two commits behind...). > >> > >> How can you get this info directly without leaving/rejoining your > >> branch? > > > > It is also part of "git status"' output. > > Is there some option to just get the status of HEAD against tracked > branch and not the index status? I guess I could do an alias but an > option would be nicer ;)
Just try "git checkout".
Ciao, Dscho