Dev/개발환경

git 로컬 파일 강제로 덮어쓰기

중요하지 않은 파일/덮어쓰기 해도 무방한 파일일 때는 덮어쓰기 하는 것이 빠름.

 

1. git pull 받을 목록을 업데이트

git fetch --all

2. git reset 으로 head를 최신으로 가리킨다(원하는 branch)

git reset --hard origin/master

3. git pull 로 확인

git pull

 

728x90