-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpush_to_github.bat
More file actions
47 lines (40 loc) · 1.35 KB
/
push_to_github.bat
File metadata and controls
47 lines (40 loc) · 1.35 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
45
46
47
@echo off
setlocal
cd /d "%~dp0"
echo ===================================================
echo 🚀 Golden Castle - GitHub Uploader
echo ===================================================
:: 1. Configure Git (If not already done)
echo 🔧 Configuring Git...
set /p EMAIL="Enter your GitHub Email: "
set /p NAME="Enter your GitHub Name: "
git config --global user.email "%EMAIL%"
git config --global user.name "%NAME%"
:: 2. Create Repository Instructions
echo.
echo ===================================================
echo ⚠️ ACTION REQUIRED: Create a New Repository
echo ===================================================
echo 1. Go to: https://github.com/new
echo 2. Repository name: golden-castle-dashboard
echo 3. Visibility: Private (Recommended)
echo 4. Click "Create repository"
echo 5. Copy the HTTPS URL (e.g., https://github.com/StartYourOwn/golden-castle.git)
echo.
set /p REPO_URL="Paste the Repository URL here: "
:: 3. Push Code
echo.
echo 📦 Packaging code...
git add .
git commit -m "Initial release of Golden Castle v2.0"
echo.
echo 🚀 Pushing to GitHub...
git branch -M main
git remote add origin %REPO_URL%
git push -u origin main
echo.
echo ===================================================
echo ✅ Upload Complete!
echo ===================================================
echo Now go to https://share.streamlit.io/ to deploy your app.
pause