From: Johannes Schindelin Date: Wed, 18 Mar 2009 15:48:15 GMT Subject: Re: Rebasing local patches Message-ID: In-Reply-To: <49BA0DBB.7000700@morey-chaisemartin.com> Hi, On Fri, 13 Mar 2009, Nicolas Morey-Chaisemartin wrote: > >> 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