git --version / git version 2.24.3 (Apple Git-128)
main 레포에는 readme 밖에 없는 상황.
#1Setting branch에 있는 자료들을 pull을 하려고 했으나, 다음과 같은 에러가 계속 발생했다.
stack overflow 검색해보니 나와 같은 에러를 겪는 사람이 있다. : )
해당 키워드를 사용하니 해결되었다.
원인 :
신규로 만든 프로젝트와 기존에 있는 프로젝트는 같은 방향을 보고 있지 않아 서로 다른 프로젝트라고 인식 함.
독립적인 두 프로젝트를 병합하려면 --allow-unrelated-histories를 사용해야 함.
github.com/git/git/blob/master/Documentation/RelNotes/2.9.0.txt#L58-L68
git/git
Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements. - git/git
github.com
'2020-2021 > 수료 후 : )' 카테고리의 다른 글
Hash#2[위장] (0) | 2021.03.05 |
---|---|
Kakao project 100 (0) | 2021.02.22 |
0220 (0) | 2021.02.20 |
react 버전이 맞지 않을 경우 (0) | 2021.02.19 |
0215 (1) | 2021.02.15 |
댓글