몇 주 전에 나는 git으로 작업하기 시작했고, 그 일을 좋아합니다.하나의 가지를 밀고; 다른 사람에 대한 거부감
하지만 내가 왜 git push
을 만들 때 거부감을 계속 지니고 있는지 궁금합니다 (푸시가 작동하더라도 오류가 발생 함).
내가 설정 한 다음 한 :
master
\_ development
\_ feature/blog*
가 지금은 기능/I 개발에서 작성된 블로그에 일하고 있어요. 나는
git push
을 할 때 나는 다음과 같은 오류 메시지가 얻을 :
$ git push
[...]
To [...]@[...]:[...]
288274e..34c17c3 feature/blogs -> feature/blogs
! [rejected] development -> development (non-fast-forward)
error: failed to push some refs to '[...]@[...]:[...]'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
내가 할 경우에도 git pull
작동하지 것이다. Already up-to-date.
메시지도 수신합니다.
어떻게 오류를 예방할 수 있습니까? 현재 체크 아웃 된 지점 만 푸시하고 싶습니다.
감사! 그것은 인생을 더욱 아름답게합니다! :디 – lumio