본문 바로가기

카테고리 없음

[git] failed to push some refs to 해결 방법

1. git pull

 

2. 경고창 뜸

Merge branch 'main' of {당신의 repository 주소}
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

 

3. i누름

          - esc누름

                     - shift+ ;(세미콜론) 누름

                                                       -enter 누름

 

4.git push