3 releases

0.1.2 Jul 24, 2022
0.1.1 Jul 23, 2022
0.1.0 Jul 23, 2022

#22 in #pull

MIT license

17KB
309 lines

stupid-git

crates.io docs.rs license

A simple cli to clone projects and update all projects.

  • get all repository from GitHub
  • clone all
  • pull all
    • with git stash

Usage

clone

  1. create sgit.yaml file
  2. run sgit clone or sgit pull

sample of sgit.yaml

repos:
  - https://github.com/phodal/sgit.git

auto gen repo

generate repos by orgs:

---
organization: xxx
token: xxx
repos: []

others

sgit
A multiple repo's git cli

USAGE:
    sgit <SUBCOMMAND>

OPTIONS:
    -h, --help    Print help information

SUBCOMMANDS:
    add      add a repos !! not implement
    clone    Clones repos
    gen      generate sgit by org
    help     Print this message or the help of the given subcommand(s)
    init     init sgit config
    push     pushes things

License

@2022 This code is distributed under the MIT license. See LICENSE in this directory.

Dependencies

~22–37MB
~709K SLoC