file in new branch also shown in master branch?
- From
- Carlos Santana <neubyr@gmail.com>
- Date
- Dec 28, 2009, 22:37 UTC
- Message-ID
- <92c9564e0912281437g20fe51f9ta33383791ef20385@mail.gmail.com>
Hi,
I tried following commands to test branching:
git branch test git checkout test echo "Test branch" >> testfile git status git checkout master git add . git commit git push
The 'testfile' file shows up in 'master' as well as 'test'. I thought it would be seen only in test branch, but it is not so. Is it normal or am I missing something? I was unable to repeat same behavior again, so I am confused now. Any clues?
- CS.