API for updating the push limit? #53297
Replies: 2 comments
-
Hi @rudyocalan , As far as I know, there is no specific API endpoint for updating the number of branches/tags that can be updated in a single push on a remote Git repository. The number of branches/tags that can be updated in a single push depends on the configuration of the remote Git server. However, you can use Git's push.default configuration to set the default push behavior. The push.default configuration determines the action Git takes when no branch is specified on the command line and no refspec is configured in the remote..push option. The default value for push.default is matching, which means Git will try to push all branches that exist on the local side and have the same name on the remote side. You can change the value of push.default to upstream or current to limit the number of branches/tags that can be updated in a single push. For example, if you set push.default to current, Git will only push the current branch to the remote repository. To set the value of push.default, you can use the git config command: |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hey,
Is there an API endpoint for updating the number of branches/tags that can be updated in a single push?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions