rebase/cherry-pick을 통해 마지막 커밋을 두 개 제거하려고합니다. git rebase HEAD^^^ -i
을 호출 한 후에는 모든 커밋을 HEAD^^
으로 남겨 두었으므로 HEAD^
과 HEAD
이 삭제됩니다.체리 추첨을 한 경우 변경 사항을 적용 할 수없는 이유
! [rejected] dev -> dev (non-fast-forward)
error: failed to push some refs to '[email protected]:XXXXXX/YYYYYYYYY.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
그러나 git pull
그냥 빨리 전달 호 전 HEAD 커밋 :
는 git push
후 나는 다음을 참조하십시오. 그래서, 나는 내가 시작한 것으로 끝을 맺고있다. 내가 도대체 뭘 잘못하고있는 겁니까?
git 상태의 출력을 게시 할 수 있습니까? –
죄송합니다, Lars. 더 이상 가능하지 않습니다. – igorp1024