Archives by date

You are browsing the site archives by date.

Rebase without re-checkout

TL;DR: when using multiple branches, prefer to use “git rebase –onto origin/master origin/master ${branch}” if you want to checkout and then rebase a branch. Let’s say you have the working history: /-*-* A *-*-*-*-*-*-* origin/master \-*-*-* B and you want to push the branch A because your CL has been approved. You have to rebase […]