Spaces:
Sleeping
Sleeping
Download scripts/push_all.sh from Kentlo/cert-study-app: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/Kentlo/cert-study-app/resolve/main/scripts/push_all.sh
- Command line
-
hf download hf://spaces/Kentlo/cert-study-app/scripts/push_all.sh
-
curl -L -o push_all.sh https://huggingface.co/spaces/Kentlo/cert-study-app/resolve/main/scripts/push_all.sh
219 Bytes
| set -euo pipefail | |
| BRANCH="${1:-main}" | |
| echo "Pushing ${BRANCH} to GitHub origin..." | |
| git push origin "${BRANCH}" | |
| echo "Pushing ${BRANCH} to Hugging Face hf..." | |
| git push hf "${BRANCH}" | |
| echo "Done." | |