Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.
rules for git operations in this repo.
git push --force
git push -f
git reset --hard
git clean -fd
git stash
git reset
git pull
git push
these require EXPLICIT user permission:
git push --force-with-lease
git checkout -- .
instead of git reset --hard:
git stash pop
instead of force push:
git pull --rebase
git add
git commit