Git Commit 01
Objective
Learn how to commit changes in Git repositories
Instructions
- Create a new directory
- Make it a git repository
- Create a new file called
file
with the content “hello commit”
- Commit your new file
- Run a git command to verify your commit was recorded
After you complete the exercise
Answer the following:
- What are the benefits of commits?
- Is there another way to verify a commit was created?