Skip to content

Commit

Permalink
feat: Disable pushing directly to main or master (#80)
Browse files Browse the repository at this point in the history
- disallows any pushing directly to main or master on any repo

## Summary by Sourcery

CI:
- Disallow pushing directly to the main or master branch.
  • Loading branch information
martimlobao authored Jan 17, 2025
1 parent 7e6f955 commit 0637171
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linkme/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
sort = -committerdate
autoSetupMerge = simple

[branch "main"]
pushRemote = you_have_disabled_push_for_this_branch_in_your_global_gitconfig

[branch "master"]
pushRemote = you_have_disabled_push_for_this_branch_in_your_global_gitconfig

[diff]
# Detect copies as well as renames.
renames = copies
Expand Down

0 comments on commit 0637171

Please sign in to comment.