Develop
[Git] pull 했을때 new remote branch가 없는 error 본문
remote - origin - fetch 의 경로 잘 확인하기
pull 에서 계속 오류나길래 나는 git bash로도 해봤는데
원격저장소에 업데이트 되었는데 로컬에 안떴을 때
git remote update
를 사용하면 된다해서 해봄
근데 결과는。。
(헷갈릴까봐 오타난 명령어는 모자이크 처리함)
그래서
다시 이리저리 검색하다가
맨 위의 사진처럼 경로 수정해준다음 다시 pull 하니까 성공했다
깃헙에서 브랜치 만들고 pull 성공했는데도 switch to에 안보여서 혼났음。。
참고한 글
깃 명령어 참고
[GIT]내가 보려고 만든 GIT 사용법 (velog.io)
[GIT]내가 보려고 만든 GIT 사용법
mac OS가 카탈리나 이후로는 기본 shell이 zsh로 변경되었다./bin/bash : 혹시나 bash를 사용해야할 경우에는 이렇게 명령어를 입력하면 바꿔준다.깃 토큰 업데이트 : https://developer0809.tistory.com/m/148참고
velog.io
fetch 루트 참고
https://stackoverflow.com/questions/12762922/git-cannot-see-new-remote-branch
Git: Cannot see new remote branch
A colleague pushed a new remote branch to origin/dev/homepage and I cannot see it when I run: $ git branch -r I still see preexisting remote branches. I assume this is because my local remote r...
stackoverflow.com
'웹 개발 > Git' 카테고리의 다른 글
[Git] git 로컬 저장소 지정(생성) 및 원격 저장소랑 연결하기 (0) | 2024.03.02 |
---|---|
[Git] Git 다운로드 및 설치하기 (0) | 2024.03.01 |
[GitHub] Failed to write credentials for - store in secure store 체크시 발생하는 에러 (0) | 2024.02.21 |
[Git] Fork 다른 저장소에 있는 소스코드 가져오기 / 저장소(repository) 복사하기 (1) | 2024.01.22 |
백준허브 프로그래머스 깃허브와 연동하기 자동 커밋(잔디 심기) (1) | 2024.01.08 |