목록2024/06 (1)
Land of Joe
pull.ff=only & pull.rebase true로 인한 pull 방해
배경: 원격과 로컬이 각자 서로 다른 커밋을 가지고 있을 때 1차 문제상황: git pull origin (원격브랜치명)을 했을 때에 아래와 같은 오류가 뜬다hint: Diverging branches can't be fast-forwarded, you need to either: hint: hint: git merge --no-ff hint:hint: or: hint: hint: git rebase hint: hint: Disable this message with "git config advice.diverging false" fatal: Not possible to fast-forward, aborting.해설 > 서로 갈라진 두 브랜치에서는 fast-forward가 불가능하다 해결방법: fast-..
🔗 git (github)
2024. 6. 12. 17:56