Public repo for student-contributed solutions for the assignments (Online Multimedia @ LMU)
We assume you have git installed on your machine. If not, download it here: https://git-scm.com/
- Create a GitHub account here: https://github.com/join
- Create an SSH-key for your machine by executing
ssh-keygen
in either bash or Git-Bash. Follow the instructions. It's not a bad idea to protect the key with a password, but it's not absolutely necessary if you're on a private computer. - Copy the SSH-key that you find in
~/.ssh/id_rsa.pub
- Enter the SSH-key on GitHub, which will allow you to push code to repos for which you have access. This is the URL to do that: https://github.com/settings/keys
- Make a project directory like so
mkdir ~/mmn && cd ~/mmn
- Clone this repository to your own machine.
git clone [email protected]:MIMUC-MMN/assignments-16-17.git
- Fork the repository: https://github.com/MIMUC-MMN/assignments-16-17#fork-destination-box (click the "Fork" Button)
- Add the repository as remote origin:
git remote add myfork <YOUR_REPOSITORY_URL>
- Do this:
git pull myfork master
- Set the upstream branch to your own repo:
git branch -u myfork/master
- Push your code and when you're happy with it, create a Pull Request (PR) on GitHub.
- We will merge your repos as they are, but sometime we make small modifications or comments
- Make sure you keep your repository in sync with the origin like so
git pull origin master && git merge origin/master
. Resolve any conflicts on your machine before pushing. - It's probably best if you somehow prefix your folder names with your initials / name / alias. Like so:
darkwingDuck_task01
,darkwingDuck_task02
... you get the idea
If you're stuck, don't worry. We'll help you either before/after the tutorials or on Slack: https://mimuc.slack.com/messages/mmn-ws1617