From: Ben Greear <greearb@candelatech.com>
To: git@vger.kernel.org
Subject: question git & branches
Date: Mon, 29 Aug 2005 01:07:42 -0700 [thread overview]
Message-ID: <4312C24E.4000803@candelatech.com> (raw)
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
next reply other threads:[~2005-08-29 8:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 8:07 Ben Greear [this message]
2005-08-29 11:27 ` question git & branches 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4312C24E.4000803@candelatech.com \
--to=greearb@candelatech.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).