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.

Revisions

  1. nemanjam revised this gist Oct 18, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions git.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    # 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 && \
  2. nemanjam revised this gist Apr 8, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions git.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    # create gitlab repo

    git remote add origin [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 && \
  3. nemanjam created this gist Oct 13, 2023.
    7 changes: 7 additions & 0 deletions git.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # create gitlab repo

    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