닭발개발

[Git] 원격 저장소 연결 및 끊기 (git remote) 본문

Git

[Git] 원격 저장소 연결 및 끊기 (git remote)

D269 2023. 8. 22. 16:48
728x90

 

 

 

 

 

 

 

0. 현재 연결된 원격 레파지토리 확인하기

$ git remote -v
origin https://djWJrn/djWJrn.git (fetch)
origin https://djWjrn/djWjrn.git (push)

 

1. 연결되어있는 원격 레파지토리 끊기

git remote remove [name]

$ git remote remove origin

 

 

2. 원하는 원격 레파지토리에 연결하기

git remote add [name] [url]

$ git remote add orgin https://xhlrmsgkrh/tlvdjdy.git

 

 

 

 

 

 

 

 

참고 : https://ifuwanna.tistory.com/263

728x90
반응형