Reputation: 3649
I have some automation occurring that requires the creation of extra branches, and I don't want the client to fetch these remote branches to his/her local repo. Is this possible with the use of a server side hook?
Upvotes: 2
Views: 48
Reputation: 2911
Neither git
has a pre-fetch
hook
nor it supports branch level permissions.
However you could use tools like Gitolite to manage branch level permissions and prevent internal branches from being pulled.
Upvotes: 2