On Tuesday, September 25, 2012 11:48:25 AM UTC-7, Philip Oakley wrote:
>
> Do you mean you want Branch 'b' drop its old line of development and 
> become the same as Branch 'a'.
> Or you want Branch 'b' to gain a fresh commit who's content is identical 
> to that on the tip of Branch 'a', but it would have a different history?
>

Philip,

Thank you for your help!

My intention is for branch 'b' to gain a single commit whose diffs result 
in branch 'b' looking just like 'a'.  I attempted to say this by describing 
a series of laborious steps in my original post.
  

> There are a few different methods
>

At this point, I'd be happy with whichever method will be easiest for you 
to type on this list.  Currently I am using the series of laborious steps 
in my original post.
 

> At the plumbing level you can simply create a commit on 'b' that simply 
> uses the top tree from 'a', then do a `reset --hard` to make your worktree 
> match that commit.
>

Unfortunately I am not skilled enough to translate this sentence into a 
series of git commands.  Could you please either refer me to the 
documentation for the "top tree" command (as you call it) or just type out 
the commands that might do what I want?

Thank you again,

Chris

>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/5T9mRBmV7nQJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to