git-multi-0.1.0 is not a library.
git-multi
A CLI tool for managing multiple Git remotes and syncing content between them. git-multi simplifies workflows where you need to keep multiple remotes in sync, cherry-pick changes across different upstream repositories, or manage complex multi-remote branch structures.
Features
- Multi-Remote Management: Easily add, rename, and track multiple Git remotes.
- Cross-Remote Syncing: Sync branches and cherry-pick commits between different remotes.
- Unified Branch View: See local and remote branches across all configured remotes in one view.
- File Portability: Copy specific files between different branches or remotes without full merges.
- PR Integration: Quick Pull Request creation using the
ghCLI. - Default Remotes: Set a default remote for streamlined commands.
Installation
Usage
GUI Mode
Launch the terminal user interface:
Initialization
Initialize git-multi in your current Git repository:
Remote Management
# Add a new remote
# List all configured remote names
# Set a default remote
# Set a primary remote
# List all remotes
Branch Management
# List all local and remote branches
# Create a new branch locally
# Create a new branch locally and on multiple remotes
Syncing and Moving Content
# Sync changes from one remote branch to another
# Copy specific files from another branch
Standard Git Operations (Enhanced)
# Fetch from all remotes
# Push current branch to all remotes
Configuration
git-multi stores its configuration in .gitmulti/config.toml within your repository. This file tracks default remotes, sync preferences, and metadata for each remote.
License
MIT