git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question git & branches
@ 2005-08-29  8:07 Ben Greear
  2005-08-29 11:27 ` Martin Langhoff
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ben Greear @ 2005-08-29  8:07 UTC (permalink / raw)
  To: git

Hello!

I've been trying out git and have some questions...

I installed the latest snapshot of git, pulled down the
kernel (2.6.13-rc7), and started hacking.  What fun...got myself
a git patch and was happy.

Then, decided I wanted to branch off my changes from the
main tree so I could maintain the patch-set separate for
this particular feature.

I created a new branch 'ben_dev_rfcnt'.

Now, I also have another patch that I wanted to pull into git.

Before merging this, I created another branch 'foo'.

I changed to this branch foo and imported my patch and resolved the
conflicts, etc.

I think I'm missing something fundamental though...  I wanted to
change to the ben_dev_rfcnt branch to build a kernel without my
additional patch.  git branch ben_dev_rfcnt seems to change
it fine, but all of the changes for repository 'foo' are also
still here.

Am I completely missing how branches work, or just missing a few
commands?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

end of thread, other threads:[~2005-08-29 20:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29  8:07 question git & branches Ben Greear
2005-08-29 11:27 ` Martin Langhoff
2005-08-29 12:15 ` Alex Riesen
2005-08-29 15:03 ` Linus Torvalds
2005-08-29 17:49   ` Ben Greear
2005-08-29 18:04     ` Linus Torvalds
2005-08-29 20:20   ` Jon Loeliger

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 NNTP newsgroup(s).