Skip to content

Why does the "Limit how many branches and tags can be updated in a single push" setting have any option other than 1? #30557

Answered by Daizygod
justinmchase asked this question in General
Discussion options

You must be logged in to vote

"We recommend the default maximum of 5 branch or tag updates allowed in one push. The minimum value is 2 since two branch updates are required by Git to rename a branch in a single push: delete branch and create branch. Lower numbers are more restrictive of which pushes are allowed, and higher numbers are less restrictive but have more potential for being destructive. As part of this feature's beta, we'd like to learn which number works best for you"

https://github.blog/changelog/2022-06-15-block-potentially-destructive-git-pushes/#:~:text=We%20recommend%20the%20default%20maximum,delete%20branch%20and%20create%20branch.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@justinmchase
Comment options

@airtower-luna
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by justinmchase
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants