Clone this wiki locally
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 firstname.lastname@example.org:<your user name>/MillionDollars.git
Users of other tools may just edit the config file,
[remote "origin"] url = email@example.com:<your user name>/MillionDollars.git ...
Push to your new repository.
You're all set!
The git version on older machines may not be up to the task. You'll know you fall into this if when you try the
git submodule update --init command, you get git's helpful "usage" message. Worse, the git version available from the distribution's repository isn't at all recent, so just
apt-get upgrade git-core isn't going to help.
In order to get this working on some internal build machines, we had to do the following:
sudo apt-get install curl libcurl4-openssl-dev libexpat1-dev gettext asciidoc expat git clone git://github.com/git/git.git sudo apt-get remove git-core make prefix=/usr CURLDIR=/usr/bin NO_R_TO_GCC_LINKER=YesPlease EXPATDIR=/usr/lib all sudo make prefix=/usr CURLDIR=/usr/bin NO_R_TO_GCC_LINKER=YesPlease EXPATDIR=/usr/lib install git config --global http.sslVerify false
We can't guarantee this will help, and do note that it involves replacing whatever version of git you currently have with the current dev version from github, but it works for us.