Skip to content

Instantly share code, notes, and snippets.

@480
Last active September 19, 2024 11:45
Show Gist options
  • Save 480/4681b67d2a906db8c6c1321cc678f05f to your computer and use it in GitHub Desktop.
Save 480/4681b67d2a906db8c6c1321cc678f05f to your computer and use it in GitHub Desktop.
github 리모트 리포지토리 변경하기

깃 리모트 변경 하기

기존 리포지토리 깔끔하게 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/계정/리포지토리

@haneeeul
Copy link

감사합니다!!

@woo3848
Copy link

woo3848 commented Nov 9, 2020

감사합니다.

@DevelopSoo
Copy link

감사합니다!

@chojaeyoon
Copy link

감사합니다!

@KimWash
Copy link

KimWash commented Feb 2, 2021

감사합니다 ;)

@ksmfou98
Copy link

감사합니다

@minyoung00
Copy link

감사합니다 :)

@ktmihs
Copy link

ktmihs commented Aug 9, 2021

감사합니다

@yujinbong
Copy link

감사합니다

@JiwonHwang01
Copy link

감사합니다

@Kumoooon
Copy link

Kumoooon commented Feb 11, 2022

깃 처음 써서 해맷는데 싹 해결됐어요.
감사해요....!

@newbieccc
Copy link

감사합니다

@tagrag90
Copy link

감사합니다~~~

@KIMHAUN
Copy link

KIMHAUN commented Mar 28, 2023

감사합니다 ^*^!

@Stilllee
Copy link

Stilllee commented Jun 7, 2023

감사합니다!

@Minsuchoi-1999
Copy link

감사합니다!

@junddao
Copy link

junddao commented Aug 30, 2023

감사합니다.

@hoonssss
Copy link

감사합니당!@

@devseunggwan
Copy link

감사합니다:)

@dannykim1215
Copy link

감사합니다. :)

@2p31-1
Copy link

2p31-1 commented Jan 21, 2024

감사합니다

@iamjijiyam
Copy link

thx so much

@JadeBeck
Copy link

JadeBeck commented Feb 8, 2024

감사합니다!!

@Muokok
Copy link

Muokok commented Feb 24, 2024

감사합니다~!!!!!!!

@channprj
Copy link

channprj commented Aug 22, 2024

우연히 보게 되어 댓글 남겨봅니다.

삭제/추가 하지 않고, 아래와 같은 방식으로도 변경 가능합니다.

git remote set-url origin https://github.com/username/reponame

Reference

@lchyun23
Copy link

감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment