On Mon, Oct 10, 2011 at 5:48 PM, JP <jetp...@yahoo.com> wrote:
>
>
> What am I doing wrong? Have I completely misunderstood a very basic
> concept in Git? I don't remember previous versions of Git acting like
> this.
>

As far as I know, they did. You have to commit files in the branch for
their changes to be local to the branch. IIRC, git will prevent you
from switching branches if you have staged uncommitted changes.

To save changes without committing them and switch branches, you can
use "git stash", but it won't stop you from applying the stash to
whatever branch (although it does show what branch they were stashed
on).

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to