-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_git.bat
More file actions
52 lines (47 loc) · 1.74 KB
/
setup_git.bat
File metadata and controls
52 lines (47 loc) · 1.74 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
REM PCB Defect Detection - GitHub Setup Script (Windows)
REM This script helps you initialize and push your repository to GitHub
echo.
echo 🔍 PCB Defect Detection - GitHub Setup
echo ======================================
echo.
REM Step 1: Initialize git repository
echo 📁 Step 1: Initializing Git repository...
git init
echo ✅ Git repository initialized
echo.
REM Step 2: Add all files
echo 📝 Step 2: Adding files to staging...
git add .
echo ✅ Files added to staging area
echo.
REM Step 3: Create initial commit
echo 💾 Step 3: Creating initial commit...
git commit -m "Initial commit: PCB Defect Detection System - Added Streamlit web application with multi-image batch processing - Implemented YOLOv26n model integration - Created comprehensive analytics and visualization charts - Added detailed README with statistics and use cases - Included requirements.txt and project documentation - Set up .gitignore and LICENSE files"
echo ✅ Initial commit created
echo.
REM Step 4: Instructions for GitHub
echo 🌐 Step 4: Push to GitHub
echo ======================================
echo.
echo Now, follow these steps to push to GitHub:
echo.
echo 1. Go to GitHub and create a new repository:
echo https://github.com/new
echo.
echo 2. Name your repository (e.g., 'pcb-defect-detection')
echo.
echo 3. Do NOT initialize with README, .gitignore, or license
echo.
echo 4. After creating the repository, run these commands:
echo.
echo git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
echo git branch -M main
echo git push -u origin main
echo.
echo Replace YOUR_USERNAME and YOUR_REPO_NAME with your actual values
echo.
echo ======================================
echo ✅ Repository is ready to be pushed!
echo.
pause