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:
If you edited anything on GitHub.com, always sync first:
git pull
This keeps your local copy aligned and prevents painful merge issues.
git status
This shows which files you modified, added, or are ready to commit.
Stage everything:
git add .
Or stage a single file:
git add index.html
git commit -m "Update hero messaging and delivery focus"
Think of commits as clean restore points β small, meaningful, and descriptive.
git push
This uploads your changes to GitHub and automatically redeploys your GitHub Pages site.
git pull
git status
git add .
git commit -m "Describe update"
git push
git reset --hard
git pull
β οΈ This deletes uncommitted local changes and resets to GitHubβs version.
Itβs a lightweight but enterprise-grade workflow β which fits perfectly with how I think about platforms: simple, governed, and sustainable.