๐Ÿ“• subnode [[@flancian/push an existing repository to a new remote]] in ๐Ÿ“š node [[push-an-existing-repository-to-a-new-remote]]
๐Ÿ“• text contributed by @flancian ๆœฌ ๏ธ๐Ÿ‘ ๐Ÿ“

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
Receiving pushes... (requires JavaScript)
Loading context... (requires JavaScript)
๐Ÿ“– stoas (collaborative spaces) for [[@flancian/push an existing repository to a new remote]]