gitool

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 9 Imported by: 0

README

gitool

gitlab clone all repo or pull all...

Install

$ go install github.com/ml444/gitool@lastest

Setting

export GITLAB_LOCAL_BASE_DIR=/Users/your/path
export GITLAB_ACCESS_TOKEN=YourAccessToken
export GITLAB_BASE_URL=https://git.your.cn/api/v4
export GITLAB_USERNAME=UserName

Commands

# clone all repo:
$ gitool clone -all 

# clone all repo by setting concurrent count
$ gitool clone -all -C 5

# clone one repo by search 
$ gitool clone -s repo_name

# >>>>pull<<<< 
# pull all repo:
$ gitool pull -all 

# pull all repo by setting concurrent count
$ gitool pull -all -C 5

# pull one repo by search 
$ gitool pull -s repo_name

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL