걷자
162
2019-07-18 04:08:25
1
102

깃허브 오류 질문


To https://github.com/ㅇㅇㅇㅇ/ㅇㅇㅇ

 ! [rejected]        master -> master (non-fast-forward)

error: failed to push some refs to 'https://github.com/ㅇㅇㅇㅇ/ㅇㅇㅇ'

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 --rebase origin master 명령어로 해결하긴 했습니다.

0
0
  • 답변 1

  • kenu
    44k
    2019-07-18 07:53:34

    Updates were rejected because the tip of your current branch is behind

    현재 브랜치의 끝이 뒤쳐져 업데이트가 거부되었습니다.

    항상 git push 하기 전에 git pull 부터 하세요.

    1
  • 로그인을 하시면 답변을 등록할 수 있습니다.