From: Ilya Basin Date: Thu, 18 Apr 2013 08:33:21 GMT Subject: Re[2]: put THEIR commits AFTER my commits with a single rebase command Message-ID: <1949082828.20130418123321@gmail.com> In-Reply-To: <516F9329.4060405@viscovery.net> JS> Perhaps this one: JS> git merge origin/master JS> git rebase ORIG_HEAD JS> -- Hannes Wouldn't I have to resolve conflicts twice? BTW, during the rebase, can I tell git to rewrite a different branch upon rebase success or abort? git branch -f tmp origin/master git rebase --onto master master tmp if [ $? -ne 0 ]; then # modify some file in .git/ ? else git branch -f master git checkout master fi --