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 or tests-preparation) , merge master 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

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -