Skip to content

Instantly share code, notes, and snippets.

@KyMidd

KyMidd/asdf.sh Secret

Created November 20, 2022 18:54
Show Gist options
  • Select an option

  • Save KyMidd/8282f2a0da4b0374e9c51dd62e86e8af to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/8282f2a0da4b0374e9c51dd62e86e8af to your computer and use it in GitHub Desktop.
curl -s -X PATCH \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ghp_asdfasdfasdfasdfasdf" \
https://api.github.com/repos/my_github_org/repo_name1 \
-d '{"delete_branch_on_merge":true,"private":true}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment