Published Nov 18 2021
Psssst! The 2023 WEB DEVELOPMENT BOOTCAMP is starting on FEBRUARY 01, 2023! SIGNUPS ARE NOW OPEN to this 10-weeks cohort course. Learn the fundamentals, HTML, CSS, JS, Tailwind, React, Next.js and much more! โจ
Today I had to add a remote to a Git repository after deleting the Git remote with git remote rm origin
, for reasons that I wonโt bore you with.
Then I added a new Git remote to a GitHub repository with
git remote add origin git@github.com:flaviocopes/myrepo.git
Change flaviocopes/myrepo
to your GitHub URL.
Done!