Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save codribble/7eadf8e2d33653807361913d3f500903 to your computer and use it in GitHub Desktop.
Save codribble/7eadf8e2d33653807361913d3f500903 to your computer and use it in GitHub Desktop.

Revisions

  1. @480 480 revised this gist Sep 23, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ git remote remove origin

    ### 새 리포지토리 remote 추가
    ```
    git remote add origin https://github.com/playauto/리포지토리명
    git remote add origin https://github.com/계정/리포지토리
    ```

    ###
  2. @480 480 revised this gist Jan 25, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -18,3 +18,4 @@ git remote remove origin
    git remote add origin https://github.com/playauto/리포지토리명
    ```

    ###
  3. @480 480 revised this gist Jan 25, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -17,3 +17,4 @@ git remote remove origin
    ```
    git remote add origin https://github.com/playauto/리포지토리명
    ```

  4. @480 480 renamed this gist Jan 25, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @480 480 created this gist Jan 25, 2018.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    ## 깃 리모트 변경 하기

    ### 기존 리포지토리 깔끔하게 pull / push
    ```
    git pull
    git add .
    git commit -m "clean push"
    git push
    ```

    ### 기존 리포지토리 remote 제거
    ```
    git remote remove origin
    ```

    ### 새 리포지토리 remote 추가
    ```
    git remote add origin https://github.com/playauto/리포지토리명
    ```