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]:source-ag/assignment-software-engineering.git
-
Create a new private repository on Github and give it a good name, for example
source-assignment-software-engineering
. -
Mirror-push your bare clone to your new
source-assignment-software-engineering
repository.Replace
<your_username>
with your actual Github username in the url below.cd assignment-software-engineering git push --mirror [email protected]:<your_username>/source-assignment-software-engineering.git
-
Remove the temporary local repository you created in step 1.
cd .. rm -rf assignment-software-engineering
-
You can now clone your
source-assignment-software-engineering
repository on your machine (in my case in thecode
folder).git clone [email protected]:<your_username>/source-assignment-software-engineering.git
-
Add the reviewers as collaborators to your new repository. The email you received from our recruiter will tell you the Github usernames to add.
However, if you want to go with GitHub WebUI only you can perform the following steps:
-
Import this repository into new one. As an old repository use the url to this repository; give it a good name, for example
source-assignment-software-engineering
; choose "Private" under "Privacy". -
You can now clone your
source-assignment-software-engineering
repository on your machine.git clone [email protected]:<your_username>/source-assignment-software-engineering.git
-
Add the reviewers as collaborators to your new repository, the same as in step 6 above.