-
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:optimaxdev/ta-test-uhc.git
-
Create a new private repository on Github and name it
ta-test-uhc
. -
Mirror-push your bare clone to your new
ta-test-uhc
repository.Replace
<your_username>
with your actual GitHub username in the url below.cd ta-test-uhc.git git push --mirror git@github.com:<your_username>/ta-test-uhc.git
-
Remove the temporary local repository you created in step 1.
cd .. rm -rf ta-test-uhc.git
-
You can now clone your
ta-test-uhc
repository on your machine (in my case in thecode
folder).cd ~/code git clone git@github.com:<your_username>/ta-test-uhc.git
Check the current branch and switch to master if necessary
-
Add collaborators in "Settings" => "Collaborators" page of your
ta-test-uhc
repository.