2023 Class
Login
Create new repository ‘mytestrepo’ or click on homework link to automatically create your homework repository for the specific assignment
Add a README.md file. This ends in ‘md’ because we usually write these in markdown which is a structured text format that can be rendered in nice ways in HTML and PDF (like this guide). You can also make it a plain text file and use ‘.txt’.
$ git clone https://github.com/YOURID/mytestrepo.git
$ nano solution.sh
# or some other tool (e.g. emacs, textedit, vi, ...)
$ git commit -m "I updated the solution"
$ git push
# git push will request your github ID and github password
$ nano newfile.py
$ git add newfile.py
$ git commit -m "I added this new file" newfile.py
$ git push