Hi, you can create a new branch starting on "masterF", then you can rebase
it:

git checkout topic #you must be in your topic branch
git branch temp-branch masterF #create a branch starting in your F commit
git rebase temp-branch #Reaply your commits over your temp branch
git branch -d temp-branch #Delete the temp branch

Maybe you can try this in a copy of your repo, just in case,  rebase can be
dangerous, you will be rewriting history.  Also if you are working with
others in the same repo, you will run in troubles if you rewrite history
that was already shared.


2014-04-08 10:08 GMT-03:00 Alex Rodrigues <rodrigues.a...@gmail.com>:

> I have a git repository with a master branch and a topic branch (created
> at master'B) and the topic branch has received some merges from master.
>
> A - B - D - F - H        <- "master" branch
>      \   \
>       C - E - G          <- "topic" branch
>
> Is it possible to changed the point on master at which the topic branch
> was created from master'B to master'F?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Nelson Efrain A. Cruz - https://plus.google.com/106845325502523605960/about

"Debes ser el cambio que esperas ver en el mundo" -Mahatma Gandhi

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to