logu29's picture
Create github
6f6a7db verified
raw
history blame contribute delete
371 Bytes
# 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