Solution
Create repo into the GitHub profile
Then type the command in sequential order.
first create .gitignore file and then
git init
git add .
- git commit -m "Initial commit"
- git remote add origin path http
- git branch -m main
- git push -u origin main
how to remove git from project
- rm -rf .git
Top comments (0)