Students will be given access to the Git repository as 'developers'. As a result, they can clone the master branch and submit their respective assignments by following the procedure given below:
Execute once:
# To clone a repository:
$ git clone <web-address>
Execute as many times as you like from within the directory/repository you cloned to your hard drive (just an example):
# To check the status of your repository:
$ git status
# To stage/add a file:
$ git add *.py *.pdf *.md
# To add a folder:
$ git add SUBDIRECTORY/*
# To commit changes and document them:
$ git commit -m "Informative description of the commit"
# To submit your assignments:
$ git push origin HEAD
Do not add:
Compiled or generated files like *.out, *.log, *.syntex.gz, *.bib, your executable files, etc. Put the name of these files in a text file named .gitignore
If you see your changes reflected on the git-classes site, you have submitted successfully.