Skip to content

Instantly share code, notes, and snippets.

@nemanjam
Last active October 18, 2024 04:11
Show Gist options
  • Save nemanjam/ae5cd8722033801b3b10afad24a17a49 to your computer and use it in GitHub Desktop.
Save nemanjam/ae5cd8722033801b3b10afad24a17a49 to your computer and use it in GitHub Desktop.
Add remote all
# create gitlab repo
git remote add origin [email protected]:nemanjam/myrepo.git && \
git remote add gitlab [email protected]:nemanjam/myrepo.git && \
git remote add all [email protected]:nemanjam/myrepo.git && \
git remote set-url --add --push all [email protected]:nemanjam/myrepo.git && \
git remote set-url --add --push all [email protected]:nemanjam/myrepo.git && \
git remote -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment