Originally posted at https://github.com/IQSS/dataverse/pull/8970#issuecomment-1430241288 below is how I've successfully merged the latest from IQSS "develop" branch into the pull request's "develop" branch. We should document this (as well as discourage contributors from doing this). ``` # do all this in /tmp away from your normal code cd /tmp git clone git@github.com:IQSS/dataverse.git cd dataverse git remote add noobyu6 git@github.com:noobyu6/dataverse.git git fetch noobyu6 # make a new branch not called develop (dev2) git checkout noobyu6/develop -b dev2 git merge origin/develop # delete the real develop branch (!) locally git branch -d develop # checkout dev2 (false develop) as develop for now git checkout -b develop # push the false develop to the contributor's fork (to the PR) git push noobyu6 develop cd .. # delete the tmp space rm -rf /tmp/dataverse ```