본문 바로가기

git, github

[git] failed to push some refs to + 레포 주소 error

 

레포에 pull 후 push를 해야 하는데 pull이 되지 않는 경우 사용한다.

 

git pull origin 레포주소 --allow-unrelated-histories

 

 

 

 

 

 

'git, github' 카테고리의 다른 글

github 레포지토리 갱신하기  (0) 2024.04.01
Repository 강제 push  (0) 2024.03.14
원격 저장소 연결 및 연결 끊기  (0) 2024.03.08
브랜치 강제병합  (0) 2024.03.08
[git, github] 협업 관리하기  (0) 2024.01.11