git - Is it OK to work on a branch that was created by someone else? -
background:
i'm working on project using github , supervised senior developers push additional code repository.
suppose, added new branch called tests
repository. tests
branch adding template files have work on. when i'm done, should merge these files master
branch.
doubts:
should i:
- work on
tests
branch or - create own branch (like
my-tests
ortests-preparation
) , mergemaster
after work done?
the point supervisors might push changes tests
branch , want avoid conflicts of code , code. on other hand, don't want create unnecessary branches troublesome names.
what best practice in such situation?
git there manage conflicts. pushing in same branch isn't supposed real problem.
if thing don't want them handle conflicts, maybe work in branch.
is necessary branch on server? work in local branch never push origin. , time time merge tests
.
Comments
Post a Comment