git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* file in new branch also shown in master branch?
@ 2009-12-28 22:37 Carlos Santana
  2009-12-28 23:25 ` David Aguilar
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Santana @ 2009-12-28 22:37 UTC (permalink / raw
  To: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-28 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 22:37 file in new branch also shown in master branch? Carlos Santana
2009-12-28 23:25 ` David Aguilar

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).