Groups
Groups
Sign in
Groups
Groups
Repo and Gerrit Discussion
Conversations
About
Send feedback
Help
How to stop direct git push when using gerrit?
145 views
Skip to first unread message
William
unread,
Apr 26, 2022, 6:09:11 PM
4/26/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
Hi
Is there a way to stop direct "git push" to branches when we are using gerrit?
Makson Lee
unread,
Apr 27, 2022, 4:11:54 AM
4/27/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
Don't grant the push permission to refs/heads/* to users.
https://gerrit-review.googlesource.com/Documentation/access-control.html#category_push
Reply all
Reply to author
Forward
0 new messages