On 9/14/07, Brian Scott Dobrovodsky <brian@xxxxxxxxxxx> wrote: > Switch to master and edit file > !!! The file was modified in demo, git should not allow this switch > without commiting! > $ git checkout master; echo "from master" >> test; cat test Why not? It's pretty handy, it is similar to what other SCMs do (cvs, svn, tla, hg), and git tells you that it is moving some uncommitted changes to the new branch. (If it doesn't tell you, then _that_ is a problem). cheers, martin - 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