- Notifications
You must be signed in to change notification settings - Fork2
Clone forks of a GitHub repo, or copies of a GitHub Classroom assignment
License
osteele/multiclone
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Clone all the forks of a repository, or all the repos of aGitHub Classroom assignment.
This is useful for collecting and reviewing assignments and student projects.
Features:
- Written in Golang for easier distribution. (I got tired juggling of juggling Anaconda / virtualenv between various classroom and tool environments.)
- Automatic repo discovery. Knows about “students fork” and “GitHub Classroom” conventions.
- Repos are cloned in parallel.
- Create amyrepos
.mrconfigfile.
multiclone is written in Go with support for multiple platforms.The latest release can be found at thereleases page.
Homebrew can be used to install multiclone on macOS:
$ brew tap osteele/homebrew-tap$ brew install multiclone
Create aGitHub personal access token for the command line
SetGITHUB_TOKEN to this value:export GITHUB_TOKEN=…
multiclone https://github.com/owner/repomulticlone owner/repoClone forks of owner/repo into the current directory.
multiclone repos.txtClones the repo
repos.txt is a file with one repo name-with-owner, e.g.osteele/homework1, per line.
multiclone https://github.com/owner/repo --classroommulticlone org/repo --classroomClone org's repos named repo-* into the current directory.
This is intended for use with repos created viaGitHub Classroom.
multiclone --dir path/to/dir owner/repoClone into subdirectories ofpath/to/dir, instead of the current directory.
multiclone owner/repo --dry-runSee thegit commands that would be run, without actually running them.
multiclone --helpLists additional options.
TheseGitHub Education Community forum threads discuss a variety of alternatives (including one I wrote before I wrote this):
myrepos automates parallel management of a set ofrepos. It doesn't create the initial repo set, which is that this tool does.
MIT
About
Clone forks of a GitHub repo, or copies of a GitHub Classroom assignment
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.