지긋지긋한 merge conflict 어떻하냐구요?
한방에 해결해 드리조~?!
단! 이 방법은 FM
방법이 아니므로 일반적으로 협업하실때는 비추라는거!
혼자 개인적으로 사용하실 때 유용하니 참고하시고요.(특별한 케이스에도 유용할듯요)
git fetch --all
Backup your current branch:
git checkout -b backup-master
Then, you have two options:
git reset --hard origin/master
OR If you are on some other branch:
git reset --hard origin/<branch_name>
참고 : https://stackoverflow.com/questions/1125968/how-do-i-force-git-pull-to-overwrite-local-files