가끔 언젠가 코드를 적용하거나 밀어 넣은 다음 어딘가에 작은 오류가 있음을 알게됩니다. 그래서 새로운 변화 '커밋 마지막 수정'내가 밀어하려고 할 때 이런 일이 발생 :마지막 원격 커밋을 수정하고 싶다면 git 병합이 필요한 이유는 무엇입니까?
내가 밀어하지 않은 경우 마지막 이미 마지막 커밋 밀어 경우, 모든
잘 작동 커밋 나는 그래서
$ git pull origin
Merge made by the 'recursive' strategy.
을 받고 병합
$ git push origin
To https://github.com/Kyklos-Italy/GitFashion.git
! [rejected] develop -> develop (non-fast-forward)
error: failed to push some refs to 'https://github.com/Kyklos-Italy/GitFashion.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.
을 얻을 후 나는 밀어 허용하고 있습니다.
왜 그런 행동이 있습니까?