The objective of this exercise is to create a java file, add it, commit and push to a remote repository.
- In your local machine, go to the folder where your assignments repo was cloned ...../APCSA_1/apcsa-assignments-YourUsername/ and create a folder classwork.
- Create a folder 01_hello_world inside the classwork folder.
- Write a java file HelloWorld.java 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.java should be there.