git 다른사람 repo연결

코딩을 합시다·2022년 12월 8일
0

다른사람 repo연결하는 방법

git remote set-url origin(리모컨이름) <url>
git checkout -b "title"
git checkout branch(branch이름)

원격저장소 확인

git remote -v

pull이 필요할때

ex) git pull origin(리모컨이름) master
ex) git pull origin(리모컨이름) branch(branch이름)

push할때

ex) git push origin(리모컨이름) master
ex) git push origin(리모컨이름) branch(branch이름)

0개의 댓글