> How can one merge the latest release into a branch, before first
> checking out that branch?

git checkout trac/develop # or whatever the name of develop is on your install
git checkout -b new_branch
git pull trac u/ncohen/whatever

This creates an empty branch on develop, then merges the distant
branch into it, i.e. above develop.

Or you can do it in two times

git fetch trac u/ncohen/whatever:local_branch_name
<look at local_branch_name to see if it is already based on the latest beta>
git checkout local_branch_name # if no merge is needed, i.e. the
branch is up to date
git checkout -b local_updated_branch; git merge local_branch_name # if
the branch was too old

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to