How to Push an Existing Project to GitHub | DigitalOcean

PHOTO EMBED

Sat Sep 17 2022 23:14:03 GMT+0000 (Coordinated Universal Time)

Saved by @johny611 #bash #git

git init

git add -A

git commit -m 'Added my project'

git remote add origin git@github.com:sammy/my-new-project.git

git push -u -f origin main
content_copyCOPY

https://www.digitalocean.com/community/tutorials/how-to-push-an-existing-project-to-github