개발모음집

git local branch 덮어쓰기 본문

DevOps

git local branch 덮어쓰기

void 2020. 3. 30. 10:00

 

fatal: refusing to merge unrelated histories 에러발생

=> 어차피 local master에서 진행한께 없어서 덮어 쓰기로 함

 

git fetch --all
 
git reset --hard origin/master
 
git pull origin master

출처: https://zorba91.tistory.com/217