-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGIT_QUICK_START.sh
More file actions
executable file
·45 lines (35 loc) · 1.04 KB
/
Copy pathGIT_QUICK_START.sh
File metadata and controls
executable file
·45 lines (35 loc) · 1.04 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# 🚀 Bitirme Projesi - Git Quick Start Script
# GitHub push etmeden önce bu script'i çalıştır
echo "================================"
echo "📊 Git Status Check"
echo "================================"
git status
echo ""
echo "================================"
echo "📝 Staging Changes"
echo "================================"
git add -A
echo "✓ All changes added to staging"
echo ""
echo "================================"
echo "📋 Changes to be committed:"
echo "================================"
git diff --cached --stat
echo ""
echo "⚠️ Commit message gir (veya Ctrl+C ile iptal et):"
read -p "Enter commit message: " commit_msg
if [ -z "$commit_msg" ]; then
echo "❌ Commit message boş! İptal ediliyor."
git reset
exit 1
fi
git commit -m "$commit_msg"
echo ""
echo "================================"
echo "🚀 Pushing to GitHub..."
echo "================================"
git push
echo ""
echo "✅ Push tamamlandı!"
echo "GitHub repo'nuz güncellendi: https://github.com/YourUsername/Bitirme-Projesi"