The objective of this exercise is to create a txt file, add it, commit and push to a remote repository.
- In your local machine, go to the folder where your assignments repo was cloned ...../CS_Foundations/cs_foundations-assignments-YourUsername/ and create a folder classwork.
- Create a folder 01_hello_world inside the classroom folder.
- Write a txt file HelloWorld.txt that prints the message "Hello World!".
- Run
git status
. What does it show? - Add the new file to the repo
- Run
git status
again. What does it show this time? - Commit and push the file to your repo.
- Go to GitHub, HelloWorld.txt should be there.