-
Notifications
You must be signed in to change notification settings - Fork 0
Branching Strategy
asya982 edited this page Mar 20, 2023
·
21 revisions
We have main and dev branches. All feature branches must be merged into dev branch!!! Only the release should merge into the main branch!!!
-
Option 1
- 👯 Clone front-end or back-end repo to your local machine using
git clone
- 👯 Clone front-end or back-end repo to your local machine using
-
Option 2
- Create new feature branch from develop branch using:
git checkout -b issue_4_feature_name
- Create new feature branch from develop branch using:
- 💅🏼 Add new files and make commits to your feature branch using:
git add .,git commit -m "commit message"
- 🐇 Push your feature branch to remote origin using:
git push issue_4_feature_name
- If remote develop is ahead of your local branch download new commits using:
git pull
- 🔃 Create a new pull request and asign at least 2 people to check your changes in order to merge it
<type>-Task №-short task name