Name: reposync
Owner: Clever
Description: Syncs repos for a GitHub user or organization into a folder on your computer
Created: 2015-12-29 21:32:12.0
Updated: 2018-04-10 16:24:30.0
Pushed: 2018-05-18 23:08:05.0
Size: 160
Language: Makefile
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A script that syncs repos for a GitHub user or organization into a folder on your computer.
As part of a GitHub organization, keeping up with new repos can be difficult. If repos are created, deleted, or renamed, the state of your local development environment falls of date.
reposync
solves this by cloning all repos for a GitHub user or organization into a single folder.
If the state of repos in GitHub changes, running reposync
will clone any new repos and move any deleted repos into an archive folder.
reposync
only archives local copies of a repo, and it never modifies repos that you've already cloned, so there is no risk of losing data.
Download the latest release from the releases page, extract the tar.gz, and put the binary in your path.
posync -h
e of reposync:
rchivedir string
Directory to move folders in dir that are not associated with a repo
ir string
Directory to put folders for each repo
ryrun
Set to true to print actions instead of performing them
rg string
GitHub organization you'd like to sync a folder with. Must specify this or user
rgrepotype string
For the GitHub org, type of repos you'd like to pull. Can be all, public, private, forks, sources, member. Default is all. (default "all")
oken string
GitHub token to use for auth
ser string
GitHub user you'd like to sync a folder with. Must specify this or org
serrepoforks
For the GitHub user, include forks. Default is true. (default true)
serrepotype string
For the GitHub user, type of repos you'd like to pull. Can be all, owner, member. Default is all. (default "all")
ersion
Shows version and exits