sync
Wraps bin/sync.sh. Rebases (or merges) the current feature branch
onto its base, after a clean-tree + branch-safety check.
1. Pre-flight (the script does these; your job is to interpret them)
- Not a git repo (exit 2) → tell the user; stop.
- Detached HEAD / main / master / develop (exit 2) → refuse with
a clear message; suggest switching to a feature branch first
(
/nyann:branchcreates one). - Dirty working tree (status=
dirtyin JSON) → stop and tell the use
[Description truncada. Veja o README completo no GitHub.]