Git Conflict 해결법
- 작업중인 파일 보관
git stashgit stash list
- 원격 저장소 소스 가져오기, Conflict(충돌)발생
git pull origin maingit status
- 깨진 파일 정리, VS Code 도구 추천
text<<<<<
로컬에 있는 소스
=====
가져온 소스
>>>>>
- 정리된 파일 커밋 후 전송
git add .git commit -m "merge conflict"git push origin main
- 보관된 작업중 파일 복원
git stash popgit stash list
- 작업중인 파일과 Conflict 발생시
3.단계 반복