Skip to content

Instantly share code, notes, and snippets.

@ameseee
Last active April 2, 2023 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 174 You must be signed in to fork a gist
  • Save ameseee/e9ccdf8fae906a3bd1a3d5e81731413b to your computer and use it in GitHub Desktop.
Save ameseee/e9ccdf8fae906a3bd1a3d5e81731413b to your computer and use it in GitHub Desktop.

Git - Check For Understanding

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Git Workflow

Follow the steps below to practice the Git workflow. Be ready to copy-and-paste your Terminal output as confirmation of your work.

  1. Create a directory called git_cfu. Inside of there, create a file called thoughts.md
  2. Initialize the directory
  3. Use git status to ensure you are set up for tracking using Git
  4. Add your thoughts.md to the staging area
  5. Check the git status
  6. Create an initial commit (Note: Be sure to follow the correct message format for your first commit!)
  7. Check the git status
  8. Add two takeaways you've had from your first hours of Mod 0 as it relates to success at Turing.
  9. Check the git status
  10. Check the changes you've made using git diff
  11. Add the changes to the staging area
  12. Commit the new changes (Note: Be sure to follow convention for commit messages!)
  13. Check the status
  14. Add two new strategies you are committed to trying during the rest of Mod 0 to thoughts.md
  15. Add the changes to the staging area
  16. Commit the new changes (Note: Be sure to follow convention for commit messages!)
  17. Add at least one shoutout to someone who has helped you, supported you, or just been a positive presence in the last two weeks!
  18. Add the changes to the staging area
  19. Commit the new changes (Note: Be sure to follow convention for commit messages!)
  20. Show the log of your work in oneline format using git log (This is new, yep!)

Copy and paste all of the Terminal text from this process below (not just the history):

paste all of your Terminal text here, inside the two sets of 3 back ticks!

Self Evaluation

  • How confident do you feel in your understanding and fluency with the Git workflow?
  • What do you still need to practice or learn? How will you do that? Do you need to adjust your calendar in order to do that?
  • What questions do you still have? How will you get the answers you need?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment