Skip to content

Instantly share code, notes, and snippets.

@roshane
Last active May 24, 2022 01:25
Show Gist options
  • Save roshane/b47748f94f5c3716307bacd54d90b91e to your computer and use it in GitHub Desktop.
Save roshane/b47748f94f5c3716307bacd54d90b91e to your computer and use it in GitHub Desktop.
download git repository as a zip file via curl
#!/bin/bash
curl https://[email protected]/Redmart/$REPOSITORY/zip/master --output $REPOSITORY.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment