File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 99 [string ]$RepositoryName = " from-protege-to-production-python"
1010)
1111
12- Write-Host " 🚀 Pushing to GitHub..." - ForegroundColor Green
12+ Write-Host " Pushing to GitHub..." - ForegroundColor Green
1313Write-Host " "
1414
1515# Check if remote already exists
1616$remoteExists = git remote get-url origin 2> $null
1717
1818if ($remoteExists ) {
19- Write-Host " ⚠️ Remote 'origin' already exists!" - ForegroundColor Yellow
19+ Write-Host " Warning: Remote 'origin' already exists!" - ForegroundColor Yellow
2020 Write-Host " Current remote: $remoteExists " - ForegroundColor Yellow
2121 $update = Read-Host " Do you want to update it? (y/n)"
2222 if ($update -eq " y" -or $update -eq " Y" ) {
@@ -44,11 +44,11 @@ Write-Host ""
4444try {
4545 git push - u origin main
4646 Write-Host " "
47- Write-Host " ✅ Successfully pushed to GitHub!" - ForegroundColor Green
47+ Write-Host " Successfully pushed to GitHub!" - ForegroundColor Green
4848 Write-Host " Repository URL: https://github.com/$GitHubUsername /$RepositoryName " - ForegroundColor Cyan
4949} catch {
5050 Write-Host " "
51- Write-Host " ❌ Push failed!" - ForegroundColor Red
51+ Write-Host " Push failed!" - ForegroundColor Red
5252 Write-Host " Error: $_ " - ForegroundColor Red
5353 Write-Host " "
5454 Write-Host " Common solutions:" - ForegroundColor Yellow
6060}
6161
6262Write-Host " "
63- Write-Host " 📝 Next steps:" - ForegroundColor Green
63+ Write-Host " Next steps:" - ForegroundColor Green
6464Write-Host " 1. Update repository URLs in README.md and QUICKSTART.md" - ForegroundColor White
6565Write-Host " 2. Add repository description on GitHub" - ForegroundColor White
6666Write-Host " 3. Add topics/tags on GitHub" - ForegroundColor White
You can’t perform that action at this time.
0 commit comments