#repository #remote #git-repository #git #helper #tool

app git-helper

git-helper is a Git-based tool designed to simplify the management of multiple remote repositories. It extends Git’s functionality by providing one-click initialization and pushing to multiple remote repositories, making it especially useful for developers who need to maintain multiple remote repositories simultaneously.

2 releases

new 0.1.1 Feb 9, 2025
0.1.0 Feb 9, 2025

#238 in Development tools

Download history 112/week @ 2025-02-04

112 downloads per month

MIT license

10KB
164 lines

git-helper

English | 简体中文

git-helper is a Git-based tool designed to simplify the management of multiple remote repositories. It extends Git's functionality by providing one-click initialization and pushing to multiple remote repositories, making it especially useful for developers who need to maintain multiple remote repositories simultaneously.

Features

  • Multi-remote repository management: Supports configuring multiple remote repositories for a single local repository.
  • One-click remote repository initialization: Allows you to initialize and configure multiple remote repositories in one command.
  • One-click push to multiple remote repositories: You can push code to all configured remote repositories with a single command, saving time and effort.
  • Git command extensions: Adds convenient operations to Git, improving work efficiency.

Installation

Install git-helper via cargo:

cargo install git-helper

Usage

Configuration file

Path: /home/.git_helper/config.json

{
  "D:\\code\\git-helper": [
    { "name": "gitee", "url": "git@gitee.com:ltpp-universe/git-helper.git" },
    { "name": "origin", "url": "git@github.com:ltpp-universe/git-helper.git" }
  ]
}

Initialize multiple remote repositories

Assuming you already have a local Git repository and want to link it to multiple remote repositories, use the following command:

git-helper init

One-click push to all remote repositories

After configuring multiple remote repositories, use the following command to push code to all configured remote repositories:

git-helper push

Appreciate

If you find hyperlane helpful, feel free to donate.

License

This project is licensed under the MIT License. For more details, please refer to the license file.

Contribution

Contributions are welcome! Please submit issues or create pull requests.

Contact

If you have any questions, please contact the author: ltpp-universe root@ltpp.vip.

Dependencies

~0.7–1.5MB
~33K SLoC