git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Solomon <mikesol@UFL.EDU>
To: <git@vger.kernel.org>
Subject: Moving a branch to a different node
Date: Sun, 06 Jun 2010 23:01:31 +0200	[thread overview]
Message-ID: <C831D94B.1D9DF%mikesol@ufl.edu> (raw)

Hey git users,
    I am working on a project where I proceeded by the following steps:

starting from master...
1) create branch foo
2) work in foo, make some commits, then a patch named Foo
3) create a branch bar while in foo
4) work in bar, make some commits, then a patch named Bar

git show-branch gives me

! [master] Hello
 * [foo] Foo
  ! [bar] Bar

I would like to make bar split off of master instead of foo so that I can
format a patch that can be applied to master (Bar) without having to first
apply Foo.  Is there a way to do that?

Thank you!
~Mike

             reply	other threads:[~2010-06-06 22:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-06 21:01 Mike Solomon [this message]
2010-06-06 22:08 ` Moving a branch to a different node Taylor Hedberg
2010-06-06 22:19 ` Andreas Schwab

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=C831D94B.1D9DF%mikesol@ufl.edu \
    --to=mikesol@ufl.edu \
    --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).