Exercise Solutions: GitΒΆ

  1. In whichever directory you are keeping your coursework, make a new directory called Git-Exercises using the mkdir command.

    My-Computer:my-coursework myusername$ mkdir Git-Exercises
    

    Back to the exercises

  1. Add a file called exercises.txt using the touch command in the terminal.

    My-Computer:Git-Exercises myusername$ touch exercises.txt
    

    Back to the exercises

  1. View and screenshot the result when you use git log. Make note of what you see!

    My-Computer:Git-Exercises myusername$ git log
    commit 00000000000000000000000000000000000000000
    Author: Me <myemail>
    Date:   Jan 1 01:01:01 2021
    
       Wrote Hello World
    

    Back to the exercises