Accepting the assignment will create a git repository that you will use to submit assignments. Most will be private, and they should be of the form:
https://github.com/techfundamentals-spring20XX/hm-xx-<your-github-username>
Assignments from one class will be due the following Wednesday by 11:59 PM. This allows for time to ask about an assignment.
These are instructions for submitting labs and assignments lab. We will be using Github Classroom to distribute and collect all assignments. This is new for this semester so expect some bumps.
The advantage to this is that you will be learning to work with real tools while submitting assignments.
Note: The command should look something like this. You will need to update it to the appropriate repository URL.*
git clone https://github.com/techfundamentals-fall20XX/hm-xx-<your-github-username>
To add all changed files via the command line, you must be in the homework directory.
cd hm-xx-<your-github-username>
Then you must add the files you have changed to git. The -A
command is telling git to add all of the files. While you could name the files directly, this is the easiest way.
git add -A
Add your changes to the repository using the command line or GitHub Desktop.
git commit -m "insert your commit message here"
Push your changes to the remote repository.
git push
The program should prompt you for your username and password.
I’ve put together a Jupyter Notebook we will use in class to go over the basics of git. In addition, there are a number of resources posted to the git resources tab. Post to the #homeworks tab on Slack.