Skip to content

Commit 22265be

Browse files
author
matthias_schaub
committed
add prefered branch to make a pull request. Add note about hotfix branch. #227
1 parent 6d93da5 commit 22265be

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/source/contributing.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ pip install --editable .
2323

2424
## Feature Branch
2525

26-
To contribute to the MapSwipe back-end please create dedicated feature branches:
26+
To contribute to the MapSwipe back-end please create dedicated feature branches from dev:
2727

2828
```bash
29+
git checkout dev
2930
git checkout -b featureA
3031
git commit -am 'add new project type'
3132
git push -u origin featureA
32-
git request-pull origin/master featureA
33+
git request-pull origin/dev featureA
3334
```
3435

36+
> Note: If a bug in production (master branch) needs fixing before a new versions of MapSwipe Workers gets released (merging dev into master branch), a hotfix branch should be created. In the hotfix branch the bug should be fixed and then merged back with master and also dev.
37+
3538

3639
## Style Guide
3740

0 commit comments

Comments
 (0)