A simple cli to clone projects and update all projects.
- get all repository from GitHub
- clone all
- pull all
- with
git stash
- with
- create
sgit.yaml
file - run
sgit clone
orsgit pull
sample of sgit.yaml
repos:
- https://github.com/phodal/sgit.git
- config for orgs with
sgit.yaml
:
---
organization: xxx
token: xxx
repos: []
for private projects, you need to config token
from: https://github.com/settings/tokens
- run
sgit gen
for fetch all repos info
sgit gen
- run
sgit clone
orsgit pull
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
@2022 This code is distributed under the MIT license. See LICENSE
in this directory.