> From: Surya <kasturisu...@gmail.com>
> However, when I switched to "master" to create "b2" branch for fixing bug, 
> I found all the "untracked" files of "b1" branch in "master"!!

The important point is that these untracked changes were changes in
the files of the working directory.  When you told Git to switch to
the master branch, by default it does not remove changes in the
working directory that have not been committed.  (If it did, you would
lose your work.)

You can use "git stash" to save the current state of the working
directories.  Or you can simply do "git commit -m 'Checkpoint.'" to
save the current state of your work in b1, before switching back to


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to