rea-ci-tests-audit
MOmorluto/rea485k9,215 new stars in the last 7 days
Critical Git safety rules to prevent destructive operations. Use whenever performing git operations, reverting changes, or managing commits. Prevents accidental loss of work.
NEVER USE git checkout TO REVERT CHANGES.
MANDATORY GIT SAFETY RULES:
git checkout -- <file> without first examining what you're about to destroygit diff <file> to see exactly what changes will be lostgit checkout destroys ALL changes: this can eliminate hours of valuable progressWhy this matters: Using git checkout blindly can destroy sophisticated implementations, complex prompts, provider-specific logic, and other valuable work that took significant time to develop.
NEVER run these commands without explicit user approval:
git reset --hard: Destroys uncommitted changes permanentlygit checkout -- .: Discards all working directory changesgit clean -fd: Deletes untracked files permanentlygit stash drop: Deletes stashed changesALWAYS before any git operation:
git status first to check for uncommitted changesgit stash to preserve changes if neededIf user asks to "revert" something:
This rule exists because careless git operations destroyed 2 days of work.
MOmorluto/rea485k9,215 new stars in the last 7 days
MOmorluto/rea485k9,215 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills336k5,004 new stars in the last 7 days