GIT/GIT ERROR
[git] git Pull 또는 Checkout 시 에러나는 경우
congs
2023. 7. 21. 15:17
✨ 해결 방법 ✨
Step 1) 변동사항 스택 내 저장
stash: 현재 Staging 영역 내 파일의 변동사항을 스택에 넣어두기
git stash
Step 2) checkout 또는 pull 시행
checkout 희망 시
git checkout [변경할 branch 이름]
pull 희망 시
git pull origin [branch 이름]
Step 3) 스택 내 데이터 삭제 ..?
git stash pop