con un clic
git-safety
// 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.
// 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.
Universal React UI framework for web and native. Use when building cross-platform apps with Tamagui, creating styled components with `styled()`, configuring design tokens/themes, using Tamagui UI components, or working with animations. Triggers: "tamagui", "styled()", "$token", "XStack/YStack", "useTheme", "@tamagui/*" imports, "createStyledContext", "variants".
Release safety rules. INVOKE WHEN: yarn release, npm publish, release canary, release packages, publishing, skip checks, skip tests. NEVER skip checks or tests without explicit permission.
| name | git-safety |
| description | 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 or git push -f)git reset --hard without explicit permissiongit clean -fd without explicit permissiongit stash over git resetgit pull before git pushthese require EXPLICIT user permission:
git push --forcegit push -fgit push --force-with-leasegit reset --hardgit clean -fdgit checkout -- . (discards all changes)instead of git reset --hard:
git stash to save changesgit stash pop to restoreinstead of force push:
git pull --rebase then normal pushgit pull before making changesgit add relevant filesgit commitgit pull again before pushgit push (no force flags)