Spaces:
Sleeping
Sleeping
Create github
Browse files
github
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 1. Navigate to your project directory
|
| 2 |
+
cd /path/to/your/project
|
| 3 |
+
|
| 4 |
+
# 2. Initialize a Git repository
|
| 5 |
+
git init
|
| 6 |
+
|
| 7 |
+
# 3. Add your remote repository
|
| 8 |
+
git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPOSITORY-NAME.git
|
| 9 |
+
|
| 10 |
+
# 4. Add all files
|
| 11 |
+
git add .
|
| 12 |
+
|
| 13 |
+
# 5. Commit the changes
|
| 14 |
+
git commit -m "Initial commit"
|
| 15 |
+
|
| 16 |
+
# 6. Push to GitHub
|
| 17 |
+
git branch -M main
|
| 18 |
+
git push -u origin main
|