Skip to content

goobits/repos

Repository files navigation

repos

Batch git operations across multiple repositories. One command instead of dozens of cd + git loops.

Quick Start

# Install from source
git clone https://github.com/goobits/repos.git
cd repos
./install.sh

# Or install from crates.io
cargo install goobits-repos

# Usage
repos stage "*.md"              # Stage files by pattern
repos commit "Update docs"      # Commit across all repos
repos push                      # Push all + drift check

Full installation guide →

Key Features

  • Batch Operations - Push, pull, commit, stage across all repositories concurrently (CPU cores + 2)
  • Git LFS Support - Automatic detection and handling of Large File Storage in push/pull operations
  • Subrepo Drift Detection - Track and sync nested repos at different commits
  • Package Publishing - Publish to npm/Cargo/PyPI with visibility filtering
  • Config Sync - Synchronize git user.name/email across projects
  • Security Auditing - Scan for secrets with TruffleHog; automated fixes

Quick Reference

# Git Operations
repos push                      # Push all + drift check
repos pull                      # Pull all repos
repos pull --rebase             # Pull with rebase
repos push --force              # Auto-create upstream branches
repos push --jobs 4             # Limit concurrency

# Staging & Commits
repos stage "pattern"           # Stage by pattern
repos commit "message"          # Commit staged changes
repos status                    # Show staging status

# Publishing
repos publish --dry-run         # Preview
repos publish --tag             # Publish + create git tags
repos publish --all             # Include private repos

# Security
repos audit --verify            # Scan for active secrets
repos audit --fix-gitignore     # Safe fixes only

# Subrepos
repos subrepo status            # Show drift
repos subrepo sync lib --to abc1234 --stash  # Safe sync

# Config
repos config --from-global      # Copy from global config

Commands

repos pushrepos pullrepos stagerepos unstagerepos statusrepos commitrepos publishrepos auditrepos subreporepos config

See Commands Reference for complete flag documentation.

Documentation

Getting Started

Guides

Reference

  • Glossary - Terms, flags, and concepts
  • Architecture - Concurrency model and design patterns
  • Examples - CI/CD templates and automation scripts

Full documentation index →

Development

cargo build --release           # Optimized build
cargo test                      # Run tests

See CONTRIBUTING.md for development setup.

License

MIT - see LICENSE

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages