veggie의 기술기록
[Git & GitHub] main->main (non-fast-forward) 본문
반응형
.gitignore파일 또는 README.md 파일로 인해 발생하는 오류라고 한다.
해결방법은 push 하려고 하는 브랜치 이름 앞에 +를 붙여 push하는 것.
$git push origin +main
그러면 forced update가 되며 마무리 된다.
반응형
'IT_Git & GitHub' 카테고리의 다른 글
[Git Bash]Git Bash란 무엇인가? Git Bash명령어 (0) | 2022.02.15 |
---|---|
[GitHub] Jekyll을 이용해 깃허브 블로그 테마 변경하기 (0) | 2021.12.12 |
[Git & GitHub] Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch (해결) (0) | 2021.10.26 |
[Git & GitHub] main->main (fetch first) (0) | 2021.10.26 |
[GitHub] 깃허브 블로그 만들기 (0) | 2021.10.24 |
Comments