# The official branches should require Pull Requests before merging

**URL:** <https://discourse.librecad.org/t/the-official-branches-should-require-pull-requests-before-merging/17>\
**Category:** Development / Github\
**Created:** [May 27, 2026, 10:52am UTC](https://discourse.librecad.org/t/the-official-branches-should-require-pull-requests-before-merging/17 "2026-05-27T10:52:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dxli](https://discourse.librecad.org/user_avatar/discourse.librecad.org/dxli/32/26_2.png) [@dxli](https://discourse.librecad.org/u/dxli)\
**Post date:** [May 27, 2026, 10:52am UTC](https://discourse.librecad.org/t/the-official-branches-should-require-pull-requests-before-merging/17/1 "2026-05-27T10:52:34Z")

</div>

I made a mistake today. I pushed my incomplete development code to the official master branch. There’s no excuse from my side.

It still sounds a good idea to disallow direct pushing by adding a protection rule at github for official branches (master, 2.2.1, etc.)

**`Require a pull request before merging`**

We don’t get that many commits daily, so it won’t be a burden for developers.

---

<div class="post-metadata">

**Author:** ![LordOfBikes](https://discourse.librecad.org/user_avatar/discourse.librecad.org/lordofbikes/32/8_2.png) [@LordOfBikes](https://discourse.librecad.org/u/LordOfBikes)\
**Post date:** [May 27, 2026, 6:04pm UTC](https://discourse.librecad.org/t/the-official-branches-should-require-pull-requests-before-merging/17/2 "2026-05-27T18:04:49Z")

</div>

The repo is fixed again and the merge rule activated.

If there are any issues with the new rule, please let me know.
