티스토리 뷰

728x90
반응형


To gitlab.com:SmartSmart/TEAM_DOC.git

 ! [rejected]        master -> master (fetch first)

error: failed to push some refs to 'git@gitlab.com:SmartSmart/TEAM_DOC.git'

hint: Updates were rejected because the remote contains work that you do

hint: not have locally. This is usually caused by another repository pushing

hint: to the same ref. You may want to first integrate the remote changes

hint: (e.g., 'git pull ...') before pushing again.

hint: See the 'Note about fast-forwards' in 'git push --help' for details.



 기존 데이터가 손실이 있을 수 있어서 진행이 안되게 하는것이라고 한다


git push origin +master


명령으로 업로드하면 강제로 진행은 할 수 있지만,


기존 데이터는 보장 못 한다

반응형
공지사항
최근에 올라온 글