Becoming comfortable with Git takes time and constant repetition. Thus, it's important that you get as many reps with the basics as possible. Read on.
- gain muscle memory for adding and committing changes to a Git repository
- Add a new item to the
lindsay_lohan.txtfile.
- Suggested format: "YEAR - starred in MOVIE_TITLE with SOME_ACTOR"
- Add the file to the staging area and commit it with a present tense commit message
- Add another new item to the timeline.
- Suggested format: "YEAR - began dating SOME_RENOWNED_PHILANTHROPIST"
- Add the file to the staging area and commit it with a present tense commit message
- Add a final item to the timeline.
- Suggested format: "YEAR - establishes FICTIONAL_CHARITABLE_ORGANIZATION with her sister and FORMERLY_TROUBLED_POP_STAR"
- Add the file to the staging area and commit it with a present tense commit message
git add FILE_NAME- adds a file called FILE_NAME to the staging area
git add .- adds all files in the current directory to the staging area
git commit -m "updates comments"- creates a snapshot of the repo at the time of commit