(To be improved)
- httpie (which provides the
httpcommand) —pip install httpie
- Save the
git-branch-protection.shasgit-branch-protectionsomewhere in your path (something like~/binor~/.local/binif you already use it) - Generate a GitHub token and save it as
~/.config/github_token.
$ git branch-protection protect
Can i simply use it by
sh git-branch-protection.sh action repo_name branchI am getting the following error while doing this
Update: The issue resolved by updating python and pip version