Git
Git Commit 무시하고 Pull 받기
먹세
2018. 8. 9. 13:27
1. 로컬에 있는 내용 무시하고 git 에서 내려받기
# git fetch --all
# git reset --hard origin/develop
2. 특정 branch에서 내려받기
# git fetch --all
# git reset --hard origin/branch_name
3. 작업중인 내용을 branch로 만들고 내려받기
# git checkout master
# git branch (branch_name)
# git fetch --all
# git reset --hard origin/master
반응형