Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Local Repository Setup

Doug Jacobsen edited this page Jan 31, 2014 · 2 revisions

Setting up the local repository and forking all of the appropriate repositories can be a tad cumbersome depending on what the developer wants to accomplish.

To help, I wrote a script that can be used to automate all of these tasks. But, before using the script you need to have a few things setup.

  1. Setup SSH key access to your github account. To do this, follow this guide.
  2. Setup an OAuth Token. To do this, follow this guide.

After these are setup. This script can be used to setup a local development directory structure.

This script creates forks of all four shared repositories for the user that's specified (with a corresponding OAuth token). After forks are created, the shared repositories are cloned, and remotes are added to all forks of the shared repository. Remotes are all renamed in a standard way to help developers know which remote is which. Finally, the remote history is fetched for all remotes.

After using the previous script, this script can be used to synchronize remotes in the local repositories. The repositories need to be setup in the same directory structure as the first script for this second script to work properly.

Clone this wiki locally