# Tamagui Tamagui Git Safety

> git safety

- Skill: `tomevault-io/tamagui-tamagui-git-safety` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/tamagui-tamagui-git-safety`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/tamagui-tamagui-git-safety/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/tamagui-tamagui-git-safety

---


# git safety

rules for git operations in this repo.

## rules

- NEVER force push (`git push --force` or `git push -f`)
- NEVER `git reset --hard` without explicit permission
- NEVER `git clean -fd` without explicit permission
- prefer `git stash` over `git reset`
- always `git pull` before `git push`

## forbidden commands

these require EXPLICIT user permission:
- `git push --force`
- `git push -f`
- `git push --force-with-lease`
- `git reset --hard`
- `git clean -fd`
- `git checkout -- .` (discards all changes)

## safe alternatives

instead of `git reset --hard`:
- `git stash` to save changes
- `git stash pop` to restore

instead of force push:
- `git pull --rebase` then normal push
- ask user how to resolve conflicts

## workflow

1. `git pull` before making changes
2. make changes
3. `git add` relevant files
4. `git commit`
5. `git pull` again before push
6. `git push` (no force flags)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/tamagui) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

