910 B
910 B
Sync Coding Tutor Tutorials
Commit and push your tutorials to the GitHub repository for backup and mobile reading.
Instructions
-
Go to the tutorials repo:
cd ~/coding-tutor-tutorials -
Check for changes: Run
git statusto see what's new or modified -
If there are changes:
- Stage all changes:
git add -A - Create a commit with a message summarizing what was added/updated (e.g., "Add tutorial on React hooks" or "Update quiz scores")
- Push to origin:
git push
- Stage all changes:
-
If no GitHub remote exists:
- Create the repo:
gh repo create coding-tutor-tutorials --private --source=. --push
- Create the repo:
-
Report results: Tell the user what was synced or that everything is already up to date
Notes
- The tutorials repo is at:
~/coding-tutor-tutorials/ - Always use
--privatewhen creating the GitHub repo - This is your personal learning journey - keep it backed up!