-
Notifications
You must be signed in to change notification settings - Fork 0
Branch system
There are 2 main branch.
The first one is master
, the second is dev
.
master
is the production branch and dev
is the pre-production branch.
Each of these branch are protected by rules.
branch | number of PR review |
---|---|
master |
2 |
dev |
1 |
xxx |
0 |
branch | role |
---|---|
master |
only production code |
dev |
code that is ready for testing |
feature/yyy |
developement for yyy feature |
hotfix/xxx |
fix of bug for the xxx feature |
bootstrap |
developement of prototype |
-
push code to
feature/toto
-
once the code seems to be ready: the testing will take place on
feature/toto
-
when the test phase is done: open a new pull request in order to merge
feature/toto
intodev
-
dev
now contains the feature "toto", we can now also run some test on the epitech repository'sdev
branch. -
when all the testing is done, the feature "toto" will be "production ready" and on hold on
dev
. -
when we are ready to put in production our code, we merge
dev
intomaster
. -
master
will contain the new code and push to the production server. -
later on if something is wrong about the feature "toto" on the branch
master
, we can create a branchhotfix/toto
, push the fix on it and continue from the step 3.
Created by Julien Ollivier, Cecile Cadoul, Florent Poinsard