File size: 599 Bytes
2d190aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/bash
# Quick status check script for Hugging Face Space
set -e
echo "π Hugging Face Space Status Check"
echo "===================================="
echo ""
# Check if git remote exists
if ! git remote | grep -q "hf"; then
echo "β No 'hf' remote found. Run deploy.sh first."
exit 1
fi
# Get the remote URL
HF_URL=$(git remote get-url hf)
echo "π Space URL: $HF_URL"
echo ""
# Check git status
echo "π Local Repository Status:"
git status --short
echo ""
echo "π Recent Commits:"
git log --oneline -5
echo ""
echo "π To check your Space online, visit: $HF_URL"
|