jesseduffield / jesseduffield/lazygit
feat: Require confirmation or restrict pushing on master/main
Open
enhancement
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Is your feature request related to a problem? Please describe.**
Similar to how it is possible to disable force pushing, I'd like to have the same "guardrails" to prevent accidentally pushing to main/master branch.
**Describe the solution you'd like**
Ideally some confirmation step that also provides the option to create a separate branch and pushing to it instead. Being able to disable pushing onto main from lazygit would be an acceptable alternative as well.
Contributor guide
Assessment
This issue has not been assessed yet.