Bug fix: cut -d'/' -f2 truncated 'origin/backup/main-*' to just 'backup', so rev-parse always failed and duplicate detection never worked. Fixed with sed to strip 'origin/' prefix properly. New features: - Push unpushed main commits before backing up - Fetch remote backup refs before comparing - Rich summary table: repo, status, commit count, push status, last msg - Color-coded output with dim/bold formatting - Proper cleanup using sed instead of broken cut |
||
|---|---|---|
| .. | ||
| backup-main.sh | ||
| setup-husky.sh | ||