From: Stefan Schulze Date: Wed, 23 Jan 2013 14:13:19 GMT Subject: AW: Moving commits from one branch to another Message-ID: <000b01cdf973$cc685fc0$65391f40$@de> In-Reply-To: <20130123121203.GM7498@serenity.lan> > > Is there any way to move/copy commits from one branch to another > > without a common base-commit and without a forced push of master? > > Did you try "git rebase" with "--onto"? You probably want something > like this: > > git rebase --onto svnbranch publishedToSvn master I already tried this some days ago, but wasn't sure about the result. The resulting history looks exactly what I expected, but all the commits are on master after executing this commands and svnbranch only contains the original two commits (svn-commit creating the root directory and the cherry-picked commit from master) Does the current branch matter if I call git-rebase with the -argument?