git error

Suding·2022년 11월 14일
0

GIT, Github 배우기

목록 보기
2/2

11/14일
에러코드
fatal: The current branch calendarstree has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin calendarstree

원인
내가 생성하고자 하는 calendarstree 브랜치의 상위 브랜치가 없어서
해결방법
git push --set-upstream origin calendarstree 실행

11/15일
오류
깃저장소가 잘못 설정되어있었던걸 확인했다.
원인
repository 가 두개가 만들어져있었는데 모두 삭제하고 새로 생성했다.
해결방법
순서: vscode 열기 -> repository cloning -> git html 입력 -> 저장소 설정 (내 로컬파일 폴더) -> 완료!

profile
웹개발자가 되고 싶은 수딩의 코딩 일지

0개의 댓글