📚 node [[push an existing repository to a new remote]]

push an existing repository to a new remote

git remote add origin git@example.org:username/repo.git
git branch -M main
git push -u origin main
📖 stoas
⥱ context