Sync between clean development directory and git repository.
You want to develop in a clean workspace without .git/, LICENSE, or other repo artifacts, but still need to commit to a git repository.
Maintain two directories:
dev/- Clean workspace for active developmentrepo/- Git repository with.git/,LICENSE, etc.
# 1. Copy sync.sh to your dev directory
cp sync.sh /path/to/your/dev/
cd /path/to/your/dev
# 2. Edit paths in sync.sh
DEV_DIR="/path/to/your/dev"
REPO_DIR="/path/to/your/repo"
# 3. Use it
./sync.sh push # Dev → Repo (prepare for commit)
./sync.sh pull # Repo → Dev (after pull)- SKILL.md - Full documentation
- SKILL.cn.md - 中文文档
Apache-2.0