사용자 도구

사이트 도구


git:cheatsheet

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판 양쪽 다음 판
git:cheatsheet [2019/11/06 14:10]
kwon37xi [Remote Branch]
git:cheatsheet [2019/11/06 14:11]
kwon37xi [Remote Branch]
줄 166: 줄 166:
   * ''git push origin **:**[remotebranchname]'' : 원격 브랜치 삭제. 중간의 콜론(**:**)이 있다는 점에 주의할 것.   * ''git push origin **:**[remotebranchname]'' : 원격 브랜치 삭제. 중간의 콜론(**:**)이 있다는 점에 주의할 것.
   * ''git clone -b [remotebranchname] [remote_repo 주소]'' : 원격 브랜치를 바로 clone 한다.   * ''git clone -b [remotebranchname] [remote_repo 주소]'' : 원격 브랜치를 바로 clone 한다.
-  * ''git branch %%--%%set-upstream-to [localbranchname] origin/[remotebranchname]'' : 로컬 브랜치와 리모트 브랜치간의 연결+  * ''git branch %%--%%set-upstream [localbranchname] origin/[remotebranchname]'' : 로컬 브랜치와 리모트 브랜치간의 연결
  
 ===== 2개 이상의 Remote 사용 ===== ===== 2개 이상의 Remote 사용 =====
git/cheatsheet.txt · 마지막으로 수정됨: 2024/02/06 09:18 저자 kwon37xi