You will need to create a private github repository to work on the first homework assignment.
(There are several steps to do this because the main repository for the assignment is public and Github does not allow the creation of private forks for public repositories.)
For this assignment the commands are:
Create a temporary clone of the repository. (This is temporary and will be removed so just do it wherever on your local disk.)
git clone --bare https://github.com/upenn-cis5520/hw01.git
Create a new private repository on Github and name it
hw01
. If you are unable to create a private repo, you can request unlimited private repos as a studant by getting the student pack from Github.Mirror-push your bare clone to your new
hw01
repository. Replace<your_username>
with your actual Github username in the url below.cd hw01.git git push --mirror https://github.com/<your_username>/hw01.git
Remove the temporary local repository you created in step 1.
cd .. rm -rf hw01.git
You can now clone your
hw01
repository on your machine (in my case in thecis5520/hw
folder).cd ~/cis5520/hw/ git clone https://github.com/<your_username>/hw01.git
You can save a snapshot of your work with
git push origin
.If you have a partner for this assignment, you can give them access to your private repository through Github's interface.