Quantcast
Channel: Good mind
Viewing all articles
Browse latest Browse all 511

git 원격저장소 작업 명령어

$
0
0
<원격 저장소 업데이트>
git remote update

<원격 저장소 삭제>
git remote remove origin  //origin이라는 별칭을 가진 remote를 삭제
git remote rm origin
<연결된 원격 저장소 확인>
git remote
git remote -v  //원격 저장소 목록을 확인

<원격저장소 이름 변경>
git remote rename origin myorigin  //origin이란 원격저장소 이름을 myorigin이라고 바꾸어준다. 

<원격저장소 여러개 연결하기>
git remote add "저장소명" "url"
git remote add exp https://github.com/Ohsanrim/example.git  //exp라는 저장소명으로 원격저장소 연결하기

<원격 저장소 주소 변경>
git remote set-url "저장소명" "새로운 URL
git remote set-url origin https://github.com/Ohsanrim/example.gi

Viewing all articles
Browse latest Browse all 511

Trending Articles