mirror of
https://github.com/gabrie30/ghorg.git
synced 2026-01-21 08:11:14 +01:00
- Add --sync-default-branch flag to clone command for enabling sync feature via CLI - Add syncDefaultBranch variable and flag handler in cmd package - Refactor git/sync.go to use colorlog consistently throughout - Convert all fmt.Printf debug statements to colorlog.PrintInfo/PrintSuccess/PrintError - Remove all GHORG_DEBUG environment variable checks - Return formatted errors with context using fmt.Errorf for better error messages - Add comprehensive tests for sync-default-branch flag - Test default value is false - Test flag sets environment variable correctly - All existing tests continue to pass