Git cheatsheet

Git and Remote Repository

깃을 쓰다가 문제가 있었던 부분들

fatal: refusing to merge unrelated histories

오류 :

git pull <remote> <branchname> 실행시
fatal: refusing to merge unrelated histories

원인 : 로컬과 공통조상이 없음. 해결방법 : 히스토리 무시하고 땡겨서 합침

git pull <remote> <branchname> --allow-unrelated-histories

참조

123