Git

초급 03. Remote 관리

· 1min read · 4 views

 

Remote 확인

git remote -v

 

Remote 추가

git remote add origin [email protected]:user/project.git

 

Remote URL 변경

git remote set-url origin [email protected]:user/project.git

 

Remote 삭제

git remote remove origin

 

Remote가 여러 개인 경우

git remote add upstream [email protected]:original/project.git
git fetch upstream

origin은 특별한 예약어가 아니라 가장 흔하게 사용하는 Remote 이름입니다.

 

Related Docs

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment

로그인 후 댓글을 남길 수 있습니다.