remote저장소와 연결해놓은 상태에서 진행하던 작업을 엎어버리고 다시 리모트 저장소의 내용을 덮어쓰고 싶을 때
git fetch -all
git reset --hard origin/master

반응형
'SW ENGINEERING > GIT' 카테고리의 다른 글
| Please commit your changes or stash them before you merge.] (0) | 2021.05.10 |
|---|
remote저장소와 연결해놓은 상태에서 진행하던 작업을 엎어버리고 다시 리모트 저장소의 내용을 덮어쓰고 싶을 때
git fetch -all
git reset --hard origin/master

| Please commit your changes or stash them before you merge.] (0) | 2021.05.10 |
|---|
최근댓글