Hi,

Lets say I have remote repository. I'd like to prevent users doing
push --force on master branch, ie.

'git push' to 'master' works.
'git push --force' to 'branch-1' works.
'git push --force' to 'master' is rejected.

It is possible to prevent it of whole repo using git configuration,
but it's not satisfying my needs.
For now I don't need detailed user permission setup, just prevent for
all users.

Thanks in advance,
j4b0l

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to