Here is the cheat sheet for Daily Updates.

Once the project is set up and linked to GitHub, you will repeat these 4 steps every time you make changes to your code.

The "Save & Upload" Routine

1. Navigate to your project folder:

Bash

​​cd ~/path/to/your/project

2. Stage your changes:(This tells Git: "Get these new/changed files ready to be saved.")

Bash

git add .

3. Commit your changes:(This creates a checkpoint in history. Always write a message describing what you did.)

Bash

git commit -m "Added login feature"

4. Push to GitHub:(This uploads the commit to the cloud.)

git push

Optional (But Good Habits)

- Check what changed before adding:If you want to see which files you modified before running git add:​

git status

If you get an error saying "Updates were rejected":This usually means you (or someone else) changed files on GitHub directly (like editing the README on the website). You need to download those changes first:​

git pull

Then try git push again.​

← Back to Learning Journey