Homework Submission via GitHub
Please put your source code(and Makefile, README.txt if necessary) into directory hw2/, hw3/, hw4/, hw5/, hw6/ for each homework.
(DO NOT capitalize the directories' name)
- Add file: $ git add file
- Commit: $ git commit -m 'commit_message'
- Push: $ git push origin master
When you finish your homework and want to submit it to GitHub, please push your latest commit to GitHub.
Then, please put specified tag on that commit and push.
For instance, you should put hw2 on your last commit in homework2.
(DO NOT capitalize the tags' name)
Note that we will use the timestamp of pushing tag as your submission time.
- Add tag: $ git tag -a tag_name sha -m 'tag_message'
- Push tag: $ git push origin tag_name
If you want to modify your file after tagging the commit, you should remove the original tag first, then tag the new commit again.
- Remove tag: $ git tag -d tag_name
- Push remove tag: $ git push origin :tag_name
Then, you can tag your new commit.