Skip to content

Separate branch workflow

Markus Gerstel edited this page Mar 23, 2018 · 1 revision

Step 1: Add fork to your local repository

You only need to do this once for your locally checked out copy of cctbx_project.

cd $(libtbx.find_in_repositories cctbx_project)
git remote add dials [email protected]:dials/cctbx.git
git fetch dials

Step 2: Create a development branch

git checkout -b bigthing

Step 3: Push development branch to this fork instead of upstream repository

git push dials bigthing

Step 4: Develop as you would otherwise

git commit, git push, git checkout all work as you would expect.