본문 바로가기

카테고리 없음

깃허브 오류 해결; fatal: The current branch master has no upstream branch

by m_ahh 2022. 5. 21.
반응형

https://stackoverflow.com/questions/23401652/fatal-the-current-branch-master-has-no-upstream-branch

 

fatal: The current branch master has no upstream branch

I'm trying to push one of my projects to github, and I keep getting this error: peeplesoft@jane3:~/846156 (master) $ git push fatal: The current branch master has no upstream branch. To push the

stackoverflow.com

 

위 링크에 적힌 대로 origin head 해주니까 오류가 사라지고 정상적으로 작동!

git push -u origin head 
반응형

댓글