Haskell logo CIS 5520: Advanced Programming

Fall 2024

  • Home
  • Schedule
  • Homework
  • Resources
  • Software
  • Style guide

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:

  1. 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
  2. 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.

  3. 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
  4. Remove the temporary local repository you created in step 1.

    cd ..
    rm -rf hw01.git
  5. You can now clone your hw01 repository on your machine (in my case in the cis5520/hw folder).

    cd ~/cis5520/hw/
    git clone https://github.com/<your_username>/hw01.git
  6. You can save a snapshot of your work with git push origin.

  7. If you have a partner for this assignment, you can give them access to your private repository through Github's interface.

Design adapted from Minimalistic Design | Powered by Pandoc and Hakyll