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 git@github.com:magloft/dev-test-next.git
-
Create a new private repository on Github and name it
dev-test-next
.Make sure you set the repository to private
-
Go to Settings > Access > Collaborators and add my github handle tobiasstrebitzer with Read access.
-
Mirror-push your bare clone to your new
dev-test-next
repository.Replace
<your_username>
with your actual Github username in the url below.cd dev-test-next.git git push --mirror git@github.com:<your_username>/dev-test-next.git
-
Remove the temporary local repository you created in step 1.
cd .. rm -rf dev-test-next.git
-
You can now clone your
dev-test-next
repository on your machine.git clone git@github.com:<your_username>/dev-test-next.git
-
Create a new branch for your assignment work.
git checkout -b test/<your_username>
-
You are now ready to work on your assignment. Once completed, make sure to push your changes / commits.
git push origin test/<your_username>
-
Finally, create a pull request and shoot me an email so I know I can start reviewing your assignment.
https://github.com/<your_username>/dev-test-next/compare/test/<your_username>?expand=1