generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 9
Branching Strategy
Anton Gluschuk edited this page Feb 24, 2021
·
17 revisions
We have next branches:
- master
- hotfix
- release
- develop
- feature
All feature branches creates and merge only from/to develop branch.
Working process:
-
Step 1
- Clone this repo to your local computer using next command:
git clone https://github.com/ita-social-projects/dokazovi-fe.git
- Clone this repo to your local computer using next command:
-
Step 2
- Create new feature branch from develop branch using:
git checkout -b issue_4_feature_name
- Added 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 --set-upstream origin issue_4_feature_name
- Create new feature branch from develop branch using:
-
Step 2.1
- If remote develop is ahead of your local develop branch make
git checkout develop
and download new commits using:git pull
- If your working branch need newest commits from local develop, stay on your working branch/or get back to your working branch and make merge using
git merge develop
- If remote develop is ahead of your local develop branch make
-
Step 3
- Make pull request to remote develop using dokazovi-fe
- Additional information