From: Shawn O. Pearce Date: Wed, 05 Dec 2007 06:11:26 GMT Subject: Re: How to jump between two repositories ... Message-ID: <20071205061125.GE14735@spearce.org> In-Reply-To: g2 wrote: > At this point, I wanted to push my changes back to my work repository > so I can continue work the next day. So at home, I did a git push. I > expect that my work repository has the newest material, but I find > that when I do "git status" at work the next day, it tells me that my > test.c is "modified" and has already staged it for commit. I need to > do a "git reset" followed by "git checkout" to update my work folder > to the latest stuff. Oddly enough, this question is asked so frequently that it is answered in the GitFaq on the GitWiki: http://git.or.cz/gitwiki/GitFaq#head-b96f48bc9c925074be9f95c0fce69bcece5f6e73 -- Shawn.