Skip to content

Instantly share code, notes, and snippets.

@tzach
Created November 15, 2022 08:49
Show Gist options
  • Save tzach/d5d951c7ff557979bbd185d244f6f6bb to your computer and use it in GitHub Desktop.
Save tzach/d5d951c7ff557979bbd185d244f6f6bb to your computer and use it in GitHub Desktop.
git reset $(git merge-base master $(git branch --show-current))
git add -A
git commit -m "docs: elaborate on Scylla admin REST API"
git push --force origin $(git branch --show-current)
// source https://stackoverflow.com/questions/25356810/git-how-to-squash-all-commits-on-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment