처음부터 차근차근

원격저장소에 있는 브랜치 가져오기 본문

Git

원격저장소에 있는 브랜치 가져오기

_soyoung 2023. 9. 12. 09:32
반응형
$ git remote update

원격의 브랜치를 찾지 못해서 발생하는 fatal: Cannot update paths and switch to branch '브랜치명' at the same time. 라는 오류 메세지 해결해줌.

 

 

$ git checkout -t origin/브랜치명

원격저장소의 브랜치 가져오기

 

 

참고 : https://cjh5414.github.io/get-git-remote-branch/

반응형

'Git' 카테고리의 다른 글

원격저장소에 push한 commit 되돌리기  (0) 2022.02.10
tag  (0) 2021.12.07
git flow  (0) 2021.12.06
gitignore  (0) 2021.11.08
github에서 원격 저장소 만들고 연결하기, push와 pull  (0) 2021.11.07
Comments