The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here
For this assignment the commands are:
-
Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever)
git clone --bare [email protected]:usi-systems/easytrace.git
-
Create a new repository on Github and name it
easytrace. -
Mirror-push your bare clone to your new
easytracerepository.Replace
<your_username>with your actual Github username in the url below.cd easytrace.git git push --mirror [email protected]:<your_username>/easytrace.git
-
Remove the temporary local repository you created in step 1.
cd .. rm -rf easytrace.git -
You can now clone your
easytracerepository on your machine (in my case in thecodefolder).cd ~/code git clone [email protected]:<your_username>/easytrace.git
-
Make your
easytracerepo available in your Vagrant VM by adding the following to your VagrantfileReplace
"~/code/easytrace"with your local path to theeasytracerepo.config.vm.synced_folder "~/code/easytrace", "/easytrace" -
Reload your VM to enable the synced folder (in the folder containing your Vagrant file).
vagrant reload
-
The
easytracerepo is available at/easytraceonce you ssh into the machine.