Auto backup: 2026-02-18 08:35
This commit is contained in:
@@ -47,7 +47,7 @@ backup_repo() {
|
||||
git commit -m "Auto backup: $TIMESTAMP" || echo "⚠️ Commit failed or nothing to commit"
|
||||
|
||||
echo "☁️ $name: Pushing to GitTea..." | tee -a "$LOG_FILE"
|
||||
if git push origin master 2>&1 | tee -a "$LOG_FILE"; then
|
||||
if git push origin main 2>&1 | tee -a "$LOG_FILE"; then
|
||||
echo "✅ $name: Backup successful" | tee -a "$LOG_FILE"
|
||||
else
|
||||
echo "❌ $name: Push failed - check credentials" | tee -a "$LOG_FILE"
|
||||
|
||||
Reference in New Issue
Block a user