Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell script for pre-rebase git hook
#!/bin/sh
# Disallow all rebasing
echo "pre-rebase: Rebasing is dangerous, follow the golden rules of rebasing."
exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment