feat(cli): add scan and sync commands

- discover nested Git repositories and skip dependency and build directories
- add scan and sync commands with root, exclude, jobs, timeout, JSON, strict, and confirmation options
- block detached heads, missing remotes, active Git operations, and dirty worktrees
- exclude nested repositories from their parent's dirty-worktree check
- recheck repository safety before running hub sync
- add discovery, safety, sync, JSON, and output tests
- set the embedded version to 0.1.1 and document installation and usage
This commit is contained in:
2026-09-06 18:29:50 +01:00
commit 717ae0addb
5 changed files with 845 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
/stack-sync