Git

Local commit 혹은 remote push 한거 취소하기

juniguya 2017. 2. 22. 04:16

가장 최근 커밋2개 취소 로컬

$git rebase -i HEAD~2

이후 remote에도 적용하려면


$git push origin +master


Reject Force Push

가 설정되어 있으면 안됨.