upstream branch1 [branch 변경 에러] git push --set-upstream origin main [에러] fatal: The current branch main has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin main To have this happen automatically for branches without a tracking upstream, see 'push.autoSetupRemote' in 'git help config'. [해결] git push --set-upstream origin main [상황] 프로젝트 branch사용하다가 오랜만에 코테 공부한 거 git에 올리려는데 코테 branch랑 프로젝트 branch랑 다르.. 2023. 1. 9. 이전 1 다음