Skip to content

Commit

Permalink
Update troubleshooting-rules.md (#53187)
Browse files Browse the repository at this point in the history
Co-authored-by: Sunbrye Ly <[email protected]>
  • Loading branch information
patrick-knight and sunbrye authored Nov 22, 2024
1 parent f719cf9 commit 46cd4cc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Depending on which rules are active, you may need to edit your commit history lo

If a branch or tag is targeted by rules restricting the metadata of commits, your commits may be rejected if part of the commit's metadata does not match a certain pattern. For example, you might need to add an issue number to the start of your commit message, or change the name of a new branch or tag you're trying to push to the repository. If your commits are rejected, you will see a message telling you the pattern the relevant metadata needs to match. As with signed commits, you may need to perform a rebase to squash the commits or rewrite each commit individually. For more information, see "[AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#metadata-restrictions)."

When utilizing push rulesets, a maximum of 1000 reference updates are allowed per push. If your push exceeds this limit, it will be rejected. For more information see "[AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository#creating-a-push-ruleset)".

{% ifversion repo-rules-required-workflows %}

## Troubleshooting ruleset workflows
Expand Down

0 comments on commit 46cd4cc

Please sign in to comment.