Skip to content

Instantly share code, notes, and snippets.

@nemanjam
Last active April 8, 2024 08:43
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 git@github.com:nemanjam/myrepo.git && \
git remote add all git@github.com:nemanjam/myrepo.git && \
git remote set-url --add --push all git@github.com:nemanjam/myrepo.git && \
git remote set-url --add --push all git@gitlab.com:nemanjam/myrepo.git && \
git remote -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment