github - How to merge features branches to branch develop in Git? -
i new git , have simple question
though has been asked many times in forum, want restrict question following scenario
1) feature (files a, b , c modified) cut 'develop' 2) feature b (files , d modified) cut 'develop'
feature has been merged branch 'develop' successfully
now question is, approach should follow merge 'feature b' branch 'develop'
should pull latest version of 'develop' , merge changes of 'feature b' (or) other best approaches merge 'feature b' 'develop' 'file a' has changes?
if alone working on featureb
branch, pull --rebase develop
best practice: replaying featureb
changes on top of featurea
. (and git push --force
after).
if multiple developers working on featureb
, merge of develop
featureb
has done, before merging featureb
develop.
in both cases, idea same: test integration of both features locally (pull or rebase), before merging develop
.
do not merge develop
first, "hoping" result (on develop
) "good enough".
Comments
Post a Comment