- Work w/ tickets!
- Pushing your changes
- Branch behind? do rebase!
- Still in staging branch?
- Merge to staging (for reviewers)
git checkout -b DY-<ticket number> origin/staging- Go to projects kanban board
- Locate your ticket
- Right sidebar scroll down to development
- Connect your ticket
Please refer to Conventional commits for the format of your commit messages
git add .
git commit -m "your message here"
git push origin <current branch name>- Create a PR (Pull Request)
- Move the ticket to "For review" column
- In case of errors:
git push origin <current branch name> --forceDo this first before pushing your changes if you are behind!
git fetch origin staging
git rebase origin/stagingStash if you can't rebase
git stash
git fetch origin staging
git rebase origin/staging
git stash popFix possible merge conflicts
Move to a remote branch
git checkout -b DY-<ticket number> origin/stagingIf you can't move, stash!
git stash
git checkout -b DY-<ticket number> origin/staging
git stash pop- Do not merge!
- Press the dropdown beside merge button
- Click rebase & merge
If you have problems with the workflow never hesitate to ask questions
1 ticket 1 branch rule, make sure to only have 1 branch for each ticket for easier monitoring and reviews
Workflow by Sam Dacara