seachicken / gh-poi

✨ Safely clean up your local branches
https://dev.to/seachicken/safely-clean-up-your-local-branches-9i3
MIT License
682 stars 19 forks source link

Add `poi protect/unprotect` commands #93

Closed seachicken closed 1 year ago

seachicken commented 1 year ago

Resolves #92

Support for local branch protection.

gh poi protect <branch>...
gh poi unprotect <branch>...
image
codecov[bot] commented 1 year ago

Codecov Report

Merging #93 (6f154ab) into main (7bf5b1c) will decrease coverage by 8.38%. The diff coverage is 24.48%.

:exclamation: Current head 6f154ab differs from pull request most recent head e5376a0. Consider uploading reports for the commit e5376a0 to get more accurate results

@@            Coverage Diff             @@
##             main      #93      +/-   ##
==========================================
- Coverage   87.95%   79.57%   -8.38%     
==========================================
  Files           3        4       +1     
  Lines         664      759      +95     
==========================================
+ Hits          584      604      +20     
- Misses         60      132      +72     
- Partials       20       23       +3     
Impacted Files Coverage Δ
protect.go 0.00% <0.00%> (ø)
main.go 58.69% <13.72%> (-18.52%) :arrow_down:
poi.go 89.74% <85.00%> (-0.20%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.