-
Notifications
You must be signed in to change notification settings - Fork 0
Local Repository Setup
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.
- Setup SSH key access to your github account. To do this, follow this guide.
- 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.