-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit_all.bat
More file actions
46 lines (38 loc) · 1.09 KB
/
Copy pathcommit_all.bat
File metadata and controls
46 lines (38 loc) · 1.09 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
@echo off
chcp 65001 >nul
echo ========================================
echo Commit All Changes
echo ========================================
echo.
echo Checking if Git repository exists...
if not exist ".git" (
echo Git repository not found. Running setup...
call setup_git.bat
goto :end
)
echo.
echo Checking Git status...
git status
echo.
echo Adding all changes...
git add -A
echo.
echo Committing all changes...
git commit -m "Update project with all changes - Updated KleinanzeigenConfig.py with new settings - Added improved logging system for sent items - Cleaned project structure - Removed test files - Enhanced duplicate prevention"
echo.
echo Checking if remote origin exists...
git remote -v | findstr origin >nul
if %errorlevel% neq 0 (
echo No remote origin found. Setting up GitHub repository...
git remote add origin https://github.com/2extndd/KFS2.git
git branch -M main
)
echo.
echo Pushing to GitHub...
git push origin main
echo.
echo ========================================
echo All changes committed!
echo ========================================
:end
pause