$ gitomator-make-repos REPOS-CONFIG
Create a bunch of empty repos.
repos: - repo-001 - repo-002 - repo-003 - repo-004
master branch of the specified
source_repo will be pushed to each repo that is created.
source_repo: repo-with-starter-code repos: - repo-001 - repo-002 - repo-003 - repo-004
- When Gitomator creates the repositories, it will push all the commits from the specified repo.
- If you are new to GitHub you may want to read about the difference between forking and cloning-then-pushing.
Re-run the script
If you add repos to your configuration file, just run
gitomator-make-repos again, and it will create any missing repositories.
If you specify the
--update-existing) flag, Gitomator will push all changes (from from the
source_repo) to repos that already exist in your GitHub organization (assuming there are no Git conflicts).
You can specify various properties of created repositories, by adding the
repo_properties field to the YAML file:
source_repo: name_of_some_repo_in_your_organization repo_properties: description: "A short description" homepage: "http://example.com" private: true has_issues: true has_wiki: false has_downloads: false default_branch: master repos: - repo_01 - repo_02 - repo_03
Once again, you can change a property and re-run
gitomator-make-repos, Gitomator will update the repos in your GitHub organization.