Skip to content

Instantly share code, notes, and snippets.

@manashmandal
Created May 3, 2020 20:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manashmandal/1dab46539a4ca574ee9ff3892c8b897b to your computer and use it in GitHub Desktop.
Save manashmandal/1dab46539a4ca574ee9ff3892c8b897b to your computer and use it in GitHub Desktop.
Download Asset from Private Repo
curl -L -H 'Accept: application/octet-stream' -H "Authorization: token $TOKEN" 'https://api.github.com/repos/:owner/:repo/releases/assets/:asset_id' --output output.format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment