Contribution Workflow
| Parent pages: Contributing | README |
Table of contents
- Overview
- Create a branch from
main - Make and preview changes locally
- Commit and push changes
- Open a pull request to
main - Important fork/upstream warnings
Overview
This page covers the expected Git workflow for this repository: branch from main, make local changes, preview locally, then open a PR to merge back into main.
Create a branch from main
- Switch to
main. - Pull latest changes from
origin/main. - Create your feature branch from
main.
Example:
git checkout main
git pull origin main
git checkout -b your-feature-branch
Make and preview changes locally
- Edit files in your branch.
- Run local preview:
bundle exec jekyll serve --livereload, ordocker compose up
- Confirm content, links, and layout look correct before committing.
Commit and push changes
- Review your changes.
- Commit with a clear message.
- Push your branch to
origin.
Example:
git add .
git commit -m "Update documentation for contributors"
git push -u origin your-feature-branch
Open a pull request to main
- Open a PR from your branch into
da5idt/kcdataprofessionals_sitemain. - Include a short summary of what changed and why.
- Address review feedback, then merge once approved.
Important fork/upstream warnings
- This repository was originally forked from
https://github.com/perstarke-webdev/oneflow-jekyll-theme. - Do not open PRs to
perstarke-webdev/oneflow-jekyll-theme. - Do not add/use an
upstreamremote to that repository for routine contributions. - Do not fetch, pull, merge, or rebase from
https://github.com/perstarke-webdev/oneflow-jekyll-themeunless a maintainer explicitly requests that sync. - Always push branches to
origin(https://github.com/da5idt/kcdataprofessionals_site.git) and target PRs to this repository’smain.