Hi, On Fri, 14 Sep 2007, Brian Scott Dobrovodsky wrote: > Just started using Git today and I already shot myself in the foot. I > found, when working within a newly created branch, you are allowed to > switch branches without committing. That's a feature, no bug. Many times I found myself blessing it, since I was actually on the wrong branch, and only realised that when committing (it says "# On branch <branch>" in the text shown in the editor). IMHO this behaviour should have become obvious to you after the tutorial. Besides, I have to wonder if you do not check what you commit? Because I usually do a "git diff" last thing before a commit to make sure that nothing unwanted is committed. Hth, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html