Skip to content

Instantly share code, notes, and snippets.

View Vinatorul's full-sized avatar
🛍️
Working on Yandex Lavka

Alexander Kuvaev Vinatorul

🛍️
Working on Yandex Lavka
View GitHub Profile
# go to your repository
cd my_project
# check your existing remote
git remote -v
# origin git@mydomain.tld:my_project.git (fetch)
# origin git@mydomain.tld:my_project.git (push)
# Add a new remote, a github.com private repository for example
# the --mirror flag is what's different from a simple new remote