git-mass

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 1 Imported by: 0

README

Git Mass

Mass download all github repositories(public & private) of an organization, ideally in a few seconds.

Writing this as a simple bash script would've taken me a few minutes, but this took me a few hours to learn and write. Expect stupid mistakes.

Installation

Download the binary from the releases page and run it.

Or, you could clone the repository and build it yourself.

Usage

Assuming you have the binary installed, you can do the following:

Configure / Re-Configure
  • Configure/re-configure your credentials:
git-mass config -u <username> -t <token>
  • Verify if your configured credentials are valid:
git-mass config

You can generate a token from here. Highly recommend you set token-expiry.

List all (public)organizations
git-mass orgs

Go to https://github.com/orgs/<organization>/people if you want to switch between public/private.

Clone all repositories from an organization
git-mass clone -o <organization>

TODOs

  • Might add GitLab integration

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