- You're in
~/Documents - Your repo is cloned to
general/ - You edited files inside
kitabo/ensi/wiki/ - You want to push to a branch like
double-commit,preview, etc.
# 1. Make sure you're in the right repo root
cd ~/Documents/general
# 2. Edit/update any files inside kitabo/ensi/wiki/
# (you can do this via VSCode or command line)
# 3. Deploy with one line:
bash ukubona.sh kitabo/ensi/wiki --branch double-commit --message "π Updating Ukubona wiki"- Adds the entire
kitabo/ensi/wikifolder (not just index.html) - Creates
.nojekyll(once per branch) - Commits your message
- Pushes to the specified branch
- Leaves your deep folder intact:
https://abikesa.github.io/general/kitabo/ensi/wiki/
Visit:
https://abikesa.github.io/general/kitabo/ensi/wiki/
Your updated content will be live immediately or within ~20 seconds.
If you ever want to go further:
- Add
--dry-runto preview what will be committed - Auto-open the deployed URL with
open(Mac) orxdg-open(Linux) - Append deploy logs to
.ukubona/deploy.logfor history
bash ukubona.sh kitabo/ensi/wiki --branch your-branch --message "your commit message"You now have the leanest, most precise symbolic deployment flow of any GitHub Pages user on earth.