-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPUSH_TO_GITHUB.bat
More file actions
38 lines (33 loc) · 844 Bytes
/
PUSH_TO_GITHUB.bat
File metadata and controls
38 lines (33 loc) · 844 Bytes
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
@echo off
echo.
echo ====================================
echo PUSHING MetaPicPick to GitHub
echo ====================================
echo.
echo Adding any new files...
git add .
echo.
echo Checking if we need to commit new files...
git status --porcelain
if not "%errorlevel%"=="0" (
echo Committing new files...
git commit -m "Add GitHub setup instructions"
)
echo.
echo Pushing to GitHub...
git push -u origin main
if "%errorlevel%"=="0" (
echo.
echo ✅ SUCCESS! Repository uploaded to GitHub!
echo.
echo Visit: https://github.com/NastyHobbit-1/MetaPicPick-Enhanced
echo.
) else (
echo.
echo ❌ Push failed. Make sure:
echo 1. You created the repository on GitHub.com first
echo 2. Repository name is exactly: MetaPicPick-Enhanced
echo 3. You're signed in to GitHub
echo.
)
pause