Skip to content

Instantly share code, notes, and snippets.

@aduth
Created February 11, 2020 17:05
Show Gist options
  • Save aduth/5ca5aebc00fefecb478e7e19620b8858 to your computer and use it in GitHub Desktop.
Save aduth/5ca5aebc00fefecb478e7e19620b8858 to your computer and use it in GitHub Desktop.
Git - Interactive rebase against own merge base
#!/bin/bash
git rebase -i $(git merge-base HEAD master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment