Marco Giuliano wrote: > I have the following repository status: > > * commit 2 (BRANCH X) > | > | * commit 4 (BRANCH Y) (HEAD) > | | > | * commit 3 > | / > |/ > * commit 1 > | > | > (...) > > What I'm trying to do is rebasing branch Y on branch X, with the command: > git rebase X Have you tried using --onto? git rebase --onto X commt1 -- Felipe Contreras