Difference of Fork and Branch Protected

1

I'm starting on Git, but I have a doubt.

Suppose I have one project with the branch "origin" and another branch "tests".

If I protect the branch "origin" and only give access to "tests", what difference is there in collaborating in "tests", to make a fork of my repo and then do pull request?

is not the same?

only have access to the branch "tests" to make a fork of the project

    
asked by Jess182 13.06.2018 в 16:37
source

1 answer

0

Well assuming that the repo is private, in the end I think if it's the same, fork and pull request, protect the main branch, give access to the secondary branch and from there they make me merge request.

    
answered by 13.06.2018 в 17:35