Pull from one, push to another. ``` git pull othersrc git log --all git checkout origin/master git branch -f master HEAD git push -u origin master ``` This got this error ``` ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://github.com/johnallsup/pt2_001.git' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ``` So what do we do? Force push. ``` git push -f -u origin master ``` ## Set Upstream ``` git branch -u origin master ```