FullStack
[ 깃허브 ] pull 충돌 에러 : Please commit your changes or stash them before you merge.
RightHot
2019. 9. 22. 02:54
Please commit your changes or stash them before you merge.
git pull [ 레파짓 주소 ]
git stash
내가 수정한 소스를 저장하고 이전 커밋 시점으로 되돌린다.
git pull [ 레파짓 주소 ]
다시 깃에서 소스를 내려받는다.
git stash pop
내가 수정한 소스와 내려받은 소스가 merge 된다.
소스 수정
git commit -m ""
커밋