Coding/git

git pull 할 때 Your local changes to the following files would be overwritten by merge 오류

서머스 2021. 5. 3. 18:07

stackoverflow.com/questions/14318234/how-do-i-ignore-an-error-on-git-pull-about-my-local-changes-would-be-overwritt

 

How do I ignore an error on 'git pull' about my local changes would be overwritten by merge?

How do I ignore the following error message on Git pull? Your local changes to the following files would be overwritten by merge What if I want to overwrite them? I've tried things like git pu...

stackoverflow.com

git stash push --include-untracked
git stash drop

내 로컬 저장소에 있는 변경사항들 stash해서 임시저장

untracked된 파일 까지 전부 다 포함해서.

 

그리고 drop으로 버린다.