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:source-ag/assignment-cloud-engineer.git
-
Create a new private repository on Github and give it a good name, for example
source-assignment-cloud-engineer. -
Mirror-push your bare clone to your new
source-assignment-cloud-engineerrepository.Replace
<your_username>with your actual Github username in the url below.cd assignment-cloud-engineer git push --mirror git@github.com:<your_username>/source-assignment-cloud-engineer.git
-
Remove the temporary local repository you created in step 1.
cd .. rm -rf assignment-cloud-engineer -
You can now clone your
source-assignment-cloud-engineerrepository on your machine (in my case in thecodefolder).git clone git@github.com:<your_username>/source-assignment-cloud-engineer.git
-
Add the reviewers as collaborators to your new repository: DandyDev, uzitovb, paula13