Welcome! Here is a few simple exercise to verify that you got your Git and GitHub routine figured out!
- Clone this repository to your local computer. Hint: Use
git clone "address of repository". Be sure to replace the address of repository with this repository's address! - Add a new Python file into the repository. Call it
hello.py. - Inside
hello.py, write code that prints out a greeting message. For bonus, make your code ask for a name, and printout a nicely personalized greeting. - Add and commit your new file in the repository. Hint:
git add filenameandgit commit -m "commit message" - Push you new commit to GitHub repository - this is how you submit your homework assignment! Hint:
git push - Go back to your Python code and make some changes. After that add and commit again.
- Repeat step 6 as many times as you feel like.
- Push all of your commits!
- You are done!