The case is following. I should give a copy of a repo to someone as an archive.
There are lots of branches but I want there to be only several.
As far as I know all the branches are copied on a local machine by default even though only master
is visible until you switch to another one by git branch
.
Say we have: branch1
, branch2
and branch3
.
I want someone only to be able to access branch1
and branch2
as a result.
How can I achieve this?