mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 13:52:09 +03:00
This project is inspired by and originally forked from 9router by decolua (https://github.com/decolua/9router). Full rebrand: 9router → OmniRoute across all source code, configuration, Docker, documentation, and assets.
1.2 KiB
1.2 KiB
description
| description |
|---|
| Git workflow — NEVER commit directly to main. Always use feature branches. |
Git Workflow
⚠️ CRITICAL RULE: NEVER commit directly to main
Steps
-
Before starting any work, create a feature branch from
main:git checkout main && git pull origin main git checkout -b feature/<feature-name> -
During development, commit to the feature branch:
git add -A && git commit -m "<type>(<scope>): <description>" -
Before pushing, verify the build passes:
npm run build -
When the feature is complete and verified, push the branch and STOP:
git push origin feature/<feature-name> -
DO NOT create a PR, merge, or push to
main. Let the user handle that.
Branch naming convention
feature/<name>— new featuresfix/<name>— bugfixesrefactor/<name>— refactoringdocker/<name>— Docker / infrastructure changesstyle/<name>— UI / CSS changes
Commit types
feat— new featurefix— bugfixrefactor— code refactoringstyle— UI / CSS changesdocker— Docker / infrastructuredocs— documentationchore— maintenance