Standards and Practices for Bitwise Industries
Main
L- Staging
L- Development
L- *Feature Branch*
L- *Bug fix branch*
Main branch is for finalized, tested, and production-ready code.
Staging branch is for finalized, tested, and demo-ready code.
Working branch will be development. Pushes to development require Pull Request and review.
Sub-branches of development will be used to isolate tasks that are being worked on. These are for new features, fixes, or other tasks.
Create feature/fix/task branches to perform your work in.
Keep to the standard <initials>-<issue#>-<small-description>.
Where:
<initials> are your initials. This helps everyone keep track of who owns branches easily.<issue#> is the GitHub issue number this branch relates to.<small-description> is a small description usually no more than 3 words.For example, if I’m (Corey) working on an bug fix task, I’ll create a branch such as cts-111-fix-uploader.
When work is completed and tested, make a Pull Request to the development branch. This PR requires review from another developer before it is merged.
When code is ready to be locked in for demo, a Pull Request from development to staging will be created and reviewed.
When code is ready to be deployed, a Pull Request from development to main will be created and reviewed.
git checkout -b bugName_1git commit -m "type(scope):body. resolves #1"Will Update with @malarconjr5 workflow
git clone https://github.com/Shift3/ancestreeLiveV3.gitgit add .git commit -m "type(scope):body"git pushGet the latest changes:
git checkout developmentgit pullgit checkout your-branch-namegit merge development