On Sat, 2 Mar 2013 07:48:41 -0800 (PST)
Surya <kasturisu...@gmail.com> wrote:

> I created a branch "b1" from "master". I am working on some
> improvements in "b1". I didn't commit anything. Not even stage! 
> In the middle of the story, I found another bug need to be address
> soon. So, I thought to create another branch "b2" from Master and
> work on it, merge it with master, push it to origin.. and later on go
> back to "b1" job.
> However, when I switched to "master" to create "b2" branch for fixing
> bug, I found all the "untracked" files of "b1" branch in "master"!!
> All I thought till now is, until I "merge" or "push", from a branch
> I don't practically, change things in "master".. However, I see
> things now..

This problem stems from having a wrong mental model about how branching
work in Git.  Consider reading this my lengthy reply [1] to someone with
exactly the same problem.

1. http://www.mail-archive.com/git-users@googlegroups.com/msg03448.html

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