ah teaches web design and dev

Git Exercise (Sept 28)

This exercise is required.

In preparation for your next project you will be practicing working with git for this exercise. You have a bit longer to complete this one as a result.

Instructions

For this exercise there are no pre-built files but we do recommend you work with reference material on git available to you, such as this week's reading or the GitKraken support documentation.

To start this week's exercise, please start a local repository in an empty folder, and then follow the steps below:

  1. Create a new file entitled .gitignore in the repository and place .DS_Store in the first line of the file to set up git to ignore all files called .DS_Store (these are files often generated by the Mac OS).
  2. Stage and commit the changes with a meaningful commit message.
  3. Edit the readme.md file in the repository to include an explanation of your repository.
  4. Stage and commit the changes with a meaningful commit message (you may be sensing a theme).
  5. Create a new branch entitled addingIndex.
  6. Create a new file entitled index.html in the repository using the linked bare-minimum HTML5 template.
  7. Switch back to the master branch.
  8. Merge the addingIndex branch into the master branch.
  9. Edit the readme.md file in the repository to include any references for friends or materials access to help in completing the exercise.

Please ZIP together the entire directory (including the hidden .git folder) and submit it to this assignment.

Your submission is due before Monday, October 1st at 5pm.

The Rules

Please remember the rules for this exercse:

  1. You can use online resources, course materials, your TA, and lab-mates for support. This being said, others are not allowed to do your work for you. Also, if you are drawing from online resources, course materials, your TA or peers, you must;
  2. Cite any knowledge that is not yours in a comment in the code. The internet is a glorious repository of information and you are welcome to draw on it, but you must let us know when something does not originate from your own knowledge.
  3. If work has been copied without citation the entire exercise portion of the final grade is forfeit (it totals to 5% of the final grade). A simple solution to this potential problem is to just note where your knowledge is coming from.

Recommended Resources