git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Switching branches without committing changes
@ 2008-03-21  3:27 Joe Fiorini
  2008-03-21  3:52 ` Jeff King
  2008-03-21  4:06 ` Shawn O. Pearce
  0 siblings, 2 replies; 10+ messages in thread
From: Joe Fiorini @ 2008-03-21  3:27 UTC (permalink / raw)
  To: git

He all,

I'm still a newbie to Git (and this list), so if I don't provide  
enough details please let me know what you need and I will provide :).

I'm trying to switch branches without committing my changes.  Is this  
possible?  For example, I'm working on a site, I'm testing the  
implementation of a new technology (branch B), I'm not quite done  
there (or I forget to commit everything) and I want to implement  
something else new.  I create a new branch off of B, called B.1, and  
then make some changes.  I commit only the changes that apply to B.1  
and then try to go back to B.  However, I get an error saying a file I  
changed in B is not uptodate and it cannot merge.  What am I doing  
wrong and how can I get back to B?

Thanks all!
Joe

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-03-24 19:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21  3:27 Switching branches without committing changes Joe Fiorini
2008-03-21  3:52 ` Jeff King
2008-03-21  4:06 ` Shawn O. Pearce
2008-03-21  4:10   ` Jeff King
2008-03-21  4:40     ` Joe Fiorini
2008-03-21  4:42     ` Junio C Hamano
2008-03-21  4:58       ` Joe Fiorini
2008-03-23  1:00       ` Xavier Maillard
2008-03-24 14:46         ` Joe Fiorini
2008-03-24 19:07           ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).