Daily Shaarli

All links of one day in a single page.

November 20, 2014

Remove a specifc commit from history
thumbnail

Here is a way to remove non-interactively a specific <commit-id>, knowing only the <commit-id> you would like to remove:

git rebase --onto <commit-id>^ <commit-id>