https://github.com/zimmi48/certified-origin
Limit to one pusher thanks to certified-origin GitHub status check
https://github.com/zimmi48/certified-origin
Last synced: about 1 month ago
JSON representation
Limit to one pusher thanks to certified-origin GitHub status check
- Host: GitHub
- URL: https://github.com/zimmi48/certified-origin
- Owner: Zimmi48
- Created: 2017-12-26T16:56:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T00:18:12.000Z (over 7 years ago)
- Last Synced: 2025-04-14T22:47:56.794Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Limit to one pusher thanks to certified-origin GitHub status check
Piggy-back on GitHub required status check to restrict pushing
to just one user, even when there are other administrators of the
repository.## How to use?
1. Create a personal access token in your personal settings (sub-section: "Developer settings"). Select `repo:status`.

1. Copy `certify-origin.sh` to `.git/hooks/pre-push` and fill the missing information.
2. Push at least one new commit.
3. Protect your branch in your repository settings (sub-section: "Branches").
.