ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • git remote 관련
    Git 2020. 12. 1. 10:56

    원격저장소 URL 관련

    원격 저장소 이름 및 push URL, fetch URL 초기 설정

    $ git remote add origin https://github.com/@@@@/####.git

     

    이미 등록된 원격 저장소의 push URL, fetch URL 변경

    $ git remote set-url origin https://github.com/@@@@/####.git

     

    이미 등록된 원격 저장소의 push URL 변경

    $ git remote set-url --push origin https://github.com/@@@@/####.git

     

    ??

    $ git remote get-url --add origin https://

     

     

    ??

    $ git remote set-url -add --push origin https://

     

    ??

    $ git remote set-url --delete origin https://

     

    ??

    $ git remote set-url --delete --push origin https://

     

    이미 등록된 원격 저장소 URL 확인

    $ git remote -v

     

    이미 등록된 원격 저장소 이름 변경

    $ git remote rename origin origin2

     

    이미 등록된 원격 저장소 삭제

    $ git remote rm origin

    'Git' 카테고리의 다른 글

    다른 원격저장소로 복사  (0) 2020.12.01
    되돌리기  (0) 2020.12.01
    git clone 관련  (0) 2020.12.01
    계정 관련  (0) 2020.12.01
    Git init 취소  (0) 2020.12.01

    댓글

Designed by Tistory.