Code Along: Working with Github

During this exercise, we will be walking through the process of working with Git and Github.

The steps for submitting your assignments using Git & Github are detailed here

Steps

  • 1) Fork this US states repository located on Github.com

  • 2) Clone the Repository using Github Desktop

  • 3) Save the local copy of the repository in your FEWD/github folder

  • 4) Open the project in Atom and fix the spelling errors found in index.html; save your work.

  • 5) Commit your changes using Github Desktop. Use the following commit message: “Fixed spelling errors”

  • 6) Push your changes to Github using Github Desktop

  • 7) Confirm that your changes were pushed by viewing your repository’s “commit history” on Github.

  • 8) The states should be in alphabetical order. Go back to your project in Atom and ensure the state names are listed alphabetically. Save your work.

  • 9) Commit your changes using Github Desktop. Use the following commit message: “Ordered state names alphabetically”.

  • 10) Push your changes to Github using Github Desktop

  • 11) Confirm that your changes were pushed by viewing your repository’s “commit history” on Github.

  • 12) Next you will be submitting your work comments, make Pull Request, the title of the pull request should be “Fixed issues spelling and order issues”

  • 13) You just found out that you also need to add the 5 U.S. territories to the list (why didn’t these idiots tell me this the first time?? 😒 )

  • Go back to your project in Atom and add the 5 U.S. territories. Save your work.

  • 15) Commit your changes using Github Desktop. Use the following commit message: “Added 5 U.S. territories”.

  • 16) Push your changes to Github using Github Desktop

  • 17) Confirm that your changes were pushed by viewing your repository’s “commit history” on Github.

  • 18) Observe, that you do not need to submit another Pull Request since your current Pull request is still “Open”.

Any commits pushed to a remote repository after a Pull Request has been made will be added to the existing Pull Request as long as it is still in an Open state