hugging2021/local-gemma4-rag
1
1param (2 [string]$msg = "Sync changes from Antigravity"3)4 5Write-Host "๐ Synchronizing repository..." -ForegroundColor Yellow6 7# Check for changes8$status = git status --porcelain9if (-not $status) {10 Write-Host "โจ No changes to sync." -ForegroundColor Green11 exit12}13 14# 1. Add all changes15git add --all16 17# 2. Commit18git commit -m $msg19 20# 3. Push to GitHub21Write-Host "๐ Pushing to GitHub (origin)..." -ForegroundColor Cyan22git push origin main23 24# 4. Push to Hugging Face25Write-Host "๐ Pushing to Hugging Face (huggingface)..." -ForegroundColor Cyan26git push huggingface main27 28Write-Host "โ
Sync complete!" -ForegroundColor Green29 