Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python-gitlab
python-gitlab
Repository navigation
Code
Issues
22
(22)
Pull requests
16
(16)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
python-gitlab
docs
gl_objects
protected_branches.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 7, 2025
feat(groups): add protectedbranches to group class (#3164)
xakepnz
authored and
JohnVillalovos
committed
bfd31a8
View commit details
Copy full SHA for bfd31a8
View code at this point
Browse repository at this point
Commits on May 6, 2025
docs(api-usage): fix GitLab API links to the publicly accessible URLs
allen0099
authored and
nejch
committed
f55fa15
View commit details
Copy full SHA for f55fa15
View code at this point
Browse repository at this point
Commits on Feb 10, 2025
docs: Use list(get_all=True) in documentation examples
Show description for f36614f
igorp-collabora
authored and
nejch
committed
f36614f
View commit details
Copy full SHA for f36614f
View code at this point
Browse repository at this point
Commits on Apr 24, 2024
docs(objects): minor rst formatting typo
Show description for 57dfd17
nickbroon
authored and
nejch
committed
57dfd17
View commit details
Copy full SHA for 57dfd17
View code at this point
Browse repository at this point
Commits on Feb 10, 2024
feat(api): allow updating protected branches (#2771)
Show description for a867c48
Sjord
authored
a867c48
View commit details
Copy full SHA for a867c48
View code at this point
Browse repository at this point
Commits on Jun 27, 2022
test: add tests and clean up usage for new enums
nejch
authored and
JohnVillalovos
committed
323ab3c
View commit details
Copy full SHA for 323ab3c
View code at this point
Browse repository at this point
Commits on Jun 22, 2022
feat(api): convert gitlab.const to Enums
Show description for c3c6086
jspricke
authored and
nejch
committed
c3c6086
View commit details
Copy full SHA for c3c6086
View code at this point
Browse repository at this point
Commits on Nov 30, 2021
docs: update docs to use gitlab.const for constants
Show description for b3b0b5f
JohnVillalovos
committed
b3b0b5f
View commit details
Copy full SHA for b3b0b5f
View code at this point
Browse repository at this point
Commits on Oct 11, 2021
chore: rename `master` branch to `main`
Show description for 545f8ed
nejch
committed
545f8ed
View commit details
Copy full SHA for 545f8ed
View code at this point
Browse repository at this point
Commits on Dec 7, 2018
Add access control options to protected branch creation
esabouraud
committed
cebbbf6
View commit details
Copy full SHA for cebbbf6
View code at this point
Browse repository at this point
Commits on Oct 6, 2018
refactor: rename MASTER_ACCESS
Show description for c38775a
max-wittig
committed
c38775a
View commit details
Copy full SHA for c38775a
View code at this point
Browse repository at this point
Commits on Jun 23, 2018
Improve the protect branch creation example
Show description for 590c41a
Gauvain Pocentek
committed
590c41a
View commit details
Copy full SHA for 590c41a
View code at this point
Browse repository at this point
Commits on May 20, 2018
[docs] Rework the examples pages
Show description for 5292ffb
Gauvain Pocentek
committed
5292ffb
View commit details
Copy full SHA for 5292ffb
View code at this point
Browse repository at this point
Commits on Sep 21, 2017
Add missing doc file
Gauvain Pocentek
committed
a346f92
View commit details
Copy full SHA for a346f92
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.