-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_commands.cmd
More file actions
52 lines (43 loc) · 1.24 KB
/
Copy pathgit_commands.cmd
File metadata and controls
52 lines (43 loc) · 1.24 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
48
49
50
51
52
@echo off
chcp 65001 >nul
cd /d "%~dp0"
echo ========================================
echo Git Commands for Smart Tourist Bus
echo ========================================
echo.
echo [1/6] Checking git status...
git status
echo.
echo [2/6] Initializing git repository (if needed)...
if not exist .git (
git init
echo Git repository initialized.
) else (
echo Git repository already exists.
)
echo.
echo [3/6] Setting up remote...
git remote remove origin 2>nul
git remote add origin https://github.com/xristp/SmartBusUniAssignment.git
echo Remote set to: https://github.com/xristp/SmartBusUniAssignment.git
echo.
echo [4/6] Adding all files (node_modules and dist will be ignored)...
git add .
echo Files added.
echo.
echo [5/6] Creating commit...
git commit -m "Initial commit - Smart Tourist Bus Project
- Complete implementation with all features
- User manual and technical documentation
- Online help system
- All requirements from PDF implemented"
echo Commit created.
echo.
echo [6/6] Setting branch to main and pushing...
git branch -M main
git push -u origin main
echo.
echo ========================================
echo Done! Check GitHub: https://github.com/xristp/SmartBusUniAssignment
echo ========================================
pause