반응형
git push 오류
브랜치를 재설정해 주면 된다.
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
//깃 브랜치 삭제
git branch --unset-upstream
//깃 프랜치 이동
git checkout -b master
//푸시
git push -u origin master
반응형
'Git' 카테고리의 다른 글
[Git] 훌륭한 Git 커밋 메시지의 7가지 규칙 (0) | 2024.02.15 |
---|---|
[ubuntu][Git] 아이디 패스워드 저장하기 (0) | 2022.05.28 |
[GitHub] 개인 액세스 토큰 만들어 인증하기 Support for password authentication was removed on August 13, 2021. (0) | 2021.10.01 |
[github] github 업로드 방법 (0) | 2021.09.23 |
[GIT]github, gitlab에 업로드한 파일/폴더 삭제 (0) | 2021.08.04 |