My Practical Git Handbook

How I run a free personal website on GitHub Pages β€” and the exact Git commands I use to stay sane.

After setting up JCX360 on GitHub Pages with a custom domain, a few friends asked how I actually manage updates, publishing, and syncing between GitHub and my local machine.

This is not a theoretical Git guide. This is the real, practical workflow I use day-to-day to:

πŸ”„ Always Start by Getting the Latest

If you edited anything on GitHub.com, always sync first:

git pull

This keeps your local copy aligned and prevents painful merge issues.

✏️ See What You Changed

git status

This shows which files you modified, added, or are ready to commit.

βž• Stage Your Changes

Stage everything:

git add .

Or stage a single file:

git add index.html

πŸ’Ύ Commit (Save a Snapshot)

git commit -m "Update hero messaging and delivery focus"

Think of commits as clean restore points β€” small, meaningful, and descriptive.

πŸš€ Push (Publish to Live Site)

git push

This uploads your changes to GitHub and automatically redeploys your GitHub Pages site.

πŸ” My Daily Flow (Muscle Memory)

git pull
git status
git add .
git commit -m "Describe update"
git push
      

πŸ›‘ Discard Local Changes (If You Messed Up)

git reset --hard
git pull
      

⚠️ This deletes uncommitted local changes and resets to GitHub’s version.

Why This Works for a Personal Platform

It’s a lightweight but enterprise-grade workflow β€” which fits perfectly with how I think about platforms: simple, governed, and sustainable.

← Back to Series Home β†’