-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit_push.bat
More file actions
32 lines (26 loc) · 1.12 KB
/
commit_push.bat
File metadata and controls
32 lines (26 loc) · 1.12 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
@echo off
cd /d "E:\DL FInal"
echo ======================================================================
echo COMMITTING AND PUSHING CHANGES TO GITHUB
echo ======================================================================
echo.
echo Adding all changes...
git add .
echo.
echo Committing changes...
git commit -m "Final commit with complete project documentation - Added comprehensive README with problem statement, model explanation, and dataset link - Included Flickr8k dataset information and download instructions - Documented complete implementation workflow - Added setup instructions and requirements Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"
echo.
echo Pushing to remote repository...
git push
if errorlevel 1 (
echo.
echo Trying to set upstream branch...
for /f "tokens=*" %%i in ('git branch --show-current') do set BRANCH=%%i
git push -u origin %BRANCH%
)
echo.
echo ======================================================================
echo DONE! All changes committed and pushed successfully!
echo ======================================================================
echo.
pause