git-sync-workflow
SKILL.md
Git Sync & Workflow
When to use this skill
- Syncing with remote (
git pull). - Handling merge conflicts.
- Pushing code.
1. Sync Strategy
- Pull Before Push: ALways
git pull --rebase origin mainbefore starting work or pushing. - Rebase: Prefer rebase over merge for local feature branches to keep history linear.
2. Pushing
- Safety: Use
--force-with-leaseinstead of--forceif rewriting history (only on your own branches). - Upstream: Set upstream early (
git push -u origin feat/name).
3. Hooks
- Pre-commit: Should run fast checks (lint-staged).
- Pre-push: Run heavier tests if the project considers it necessary, otherwise leave to CI.
Weekly Installs
3
Repository
sraloff/gravitybootsGitHub Stars
2
First Seen
Feb 21, 2026
Security Audits
Installed on
opencode3
gemini-cli3
github-copilot3
codex3
kimi-cli3
amp3