Re: [git-users] git branch : strange !

2013-08-30 Thread Gergely Polonkai
Hello, braches hold only commited changes (actually, they are pointers to one specific commit). Uncommited changes travel between checkouts (well, unless the target branch is in a totally different state, as then you will face even stranger merge issues). So take this advise: never checkout

Re: [git-users] git branch : strange !

2013-08-30 Thread William Seiti Mizuta
Hi, git doesn's save changes in a branch. Only commits are saved in an specific branch. So, if you have a change in a file and change the branch, this change will be at the new branch. If you don't want it, you need to commit or stash the change before changing branch. If changing a branch will

Re: [git-users] git branch : strange !

2013-08-30 Thread Dale R. Worley
From: djsuperfive maximefresch...@gmail.com Why do I have a change to add on master whereas I made this change on my branch dev ? I think I can explain this more clearly: You changed a file, but since you didn't add or commit it, none of the branches is affected. git-status is just telling