Contributor's Guide
Contribute to Trustless Work repos with a clean PR flow.
Keep changes small. Keep commits clear. Target develop.
Workflow
Fork, clone, and sync
Fork the repo on GitHub.
Clone your fork:
git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git
cd REPOSITORY_NAMEAdd the upstream remote:
git remote add upstream https://github.com/TrustlessWork/REPOSITORY_NAME.gitSync
develop:
git checkout develop
git pull upstream developCreate a branch
Use main for production. Use develop for ongoing work.
Create a new branch for every change:
git checkout develop
git pull upstream develop
git checkout -b feat/new-featureBranch naming
Features:
feat/feature-nameFixes:
fix/bug-descriptionDocs:
docs/topicRefactors:
refactor/area
Examples:
feat/escrow-uifix/api-timeoutdocs/getting-startedrefactor/contracts-cleanup
Commit and push
Commit messages
Format:
type: short description (<= 72 chars)Examples:
feat: add escrow approval systemfix: handle API timeoutdocs: update README with setup instructions
Common types:
feat: New featurefix: Bug fixdocs: Documentation updaterefactor: Code restructuringstyle: Code formatting (no logic changes)test: Adding or updating testsbuild: Changes to build process or dependenciesci: Changes to CI/CD setupchore: Miscellaneous updates
Push:
git add .
git commit -m "feat: add escrow approval system"
git push origin feat/new-featureLink
Use these to find work, browse repos, and ask questions.
Last updated