Spaces:
Sleeping
Sleeping
| # 1. Navigate to your project directory | |
| cd /path/to/your/project | |
| # 2. Initialize a Git repository | |
| git init | |
| # 3. Add your remote repository | |
| git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPOSITORY-NAME.git | |
| # 4. Add all files | |
| git add . | |
| # 5. Commit the changes | |
| git commit -m "Initial commit" | |
| # 6. Push to GitHub | |
| git branch -M main | |
| git push -u origin main | |