generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 11
Branching Strategy
brmdm edited this page Nov 4, 2020
·
19 revisions
We have the next branches:
- master
- hotfix
- release
- develop
- feature
All feature branches create and merge only from/to develop branch.
Working process:
-
Step 1
- Clone this repo to your local computer using the next command:
git clone https://github.com/ita-social-projects/dokazovi-be.git
- Clone this repo to your local computer using the next command:
-
Step 2
- Create new feature branch from develop branch using:
git checkout -b issue_4_feature_name
- 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 new feature branch from develop branch using:
-
Step 3
- Make a pull request (PR) to remote develop using dokazovi-be
-
Importantly:
- in the case of PR to master/release branch - use command:
merge
! - in the case of PR to develop/hotfix branch - use command:
squash and merge
!
- in the case of PR to master/release branch - use command:
-
Additional information