Notice
Recent Posts
Recent Comments
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

Chimy's Program

error: failed to push some refs to '~' 본문

error

error: failed to push some refs to '~'

chimy 2020. 8. 28. 00:23

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

error: failed to push some refs to '~'

 

원격 저장소의 내용을 받아오지 않고 push할 때 생긴 에러

 

해결 1. git pull 명령어로 원격저장소의 내용을 받아 지역저장소 내용을 업데이트한 뒤 push한다

충돌이 일어났다면 해결하고 다시 push 명령어를 사용하면 정상적으로 원격저장소에 저장된다

 

Comments