Skip to content

Save your all your github organization repositories

Notifications You must be signed in to change notification settings

xafardero/gitsave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitsave - Save your all your organization repositories

📜 Table of contents


🚀 Usage

CLI app to download all the repositories of a github organization.

Usage

gitsave --gh-token tour-token-here --org organization-name

Flags:

  • githubToken: Github token ID.
  • githubOrganization: Github organization name.
  • folder : Folder to clone repositorires. Default: /tmp/gitsave
  • sshPrivateKey: Private key used to clone repositories. Default: $HOME/.ssh/id_rsa

🏗️ Installation

From binary (Linux)

sudo wget -O /usr/local/bin/gitsave https://github.com/xafardero/gitsave/releases/latest/download/gitsave
sudo chmod +x /usr/local/bin/gitsave

From binary (Mac)

sudo wget -O /usr/local/bin/gitsave https://github.com/xafardero/gitsave/releases/latest/download/gitsave_darwin
sudo chmod +x /usr/local/bin/gitsave

From source code

wget https://github.com/xafardero/gitsave/releases/latest/download/gitsave.zip
go build -o gitsave *.go
sudo mv gitsave /usr/local/bin/gitsave

🛠️ Configuration

To get the github token go to https://github.com/settings/tokens and Generate a new token with the repo scope selected.

About

Save your all your github organization repositories

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages