git hub 에서 repository 생성 후 vscode에 복제를 했다.
코드 작업 후 커밋을 했는데 푸쉬가 안되서 git status를 확인하니 이러한 오류가 생겼다.
친절히 적혀있는 명령어를 입력하고 다시 브랜치 게시를 하니 정상적으로 푸쉬가 된다.
$ git branch --unset-upstream
로컬에 origin 이 없어서 생기는 오류인거 같다.
Why call git branch --unset-upstream to fixup?
I'm more of a novice when it comes to advanced operations in git. I maintain my blog using the blogging framework Octopress. Though Octopress is not under any development since 2011, it serves my p...
stackoverflow.com
Why do I have to "git push --set-upstream origin <branch>"?
I created a local branch for testing Solaris and Sun Studio. I then pushed the branch upstream. After committing a change and attempting to push the changes: $ git commit blake2.cpp -m "Add workar...
stackoverflow.com
'dev > git' 카테고리의 다른 글
vscode repository 연결 (0) | 2023.03.26 |
---|---|
깃 이슈 (0) | 2023.01.13 |
깃 다루기.. (0) | 2023.01.13 |