-
Notifications
You must be signed in to change notification settings - Fork 281
Dupliforking
This document describes a way to "fork" a project multiple times, which we call "dupliforking".
We invented this process because GitHub will only allow one fork per project, per organization.
Since a person might want to make more than one app using the Bootplate template, we needed a way to enable this.
The following command-line instructions should work on Mac OS X, Linux, and Windows if the official Git client is installed.
Let's say you want to create a new app called "MillionDollars".
-
Clone the bootplate repository and enter the directory.
git clone https://github.com/enyojs/bootplate.git MillionDollars cd MillionDollars
-
Initialize the subrepositories.
git submodule update --init
-
Create a new GitHub repository for your app.
-
Point your clone of bootplate at your new GitHub repository. (This step changes where the code is pushed to and pulled from.)
git remote set-url origin [email protected]:<your user name>/MillionDollars.git
Users of other tools may just edit the config file,
MillionDollars/.git/config
:[remote "origin"] url = [email protected]:<your user name>/MillionDollars.git ...
-
Push to your new repository.
You're all set!