티스토리 뷰
728x90
0. 오류 내용
깃 허브 푸시 명령을 치면 이런 오류가 뜨는 경우가 있다. 이경우에는 원격저장소의 상태와 로컬저장소의 상태를 맞춰주기 위해 pull을 진행후에 push를 하여 해결 할 수 있다.
error: failed to push some refs to
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.
그런데 또 pull을하려고하면 이런 오류가 뜰 수 있다.
refusing to merge unrelated histories
git pull origin 브런치명 --allow-unrelated-histories
이럴떄는 위 명령어를 통해 pull을 하면된다
'기타개발' 카테고리의 다른 글
github - branch 기본 사용법 및 merge (0) | 2021.06.24 |
---|---|
Github - couldn't find remote ref master 오류 해결 (1) | 2021.06.15 |
Github - 용량 문제해결 하기(lfs) (0) | 2021.06.15 |
Github - 기본 사용법 (0) | 2021.05.28 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Jenkins Build Periodically
- 언리얼 기초
- 알고리즘기초
- C++
- 안드로이드 구글맵
- 구글맵
- 백준
- Add Node
- 언리얼 사용자 정의 구조체
- 언리얼
- refusing to run with root privileges
- 알고리즘
- 젠킨스
- c언어 기초
- 깃 용량문제
- 유니티 직소퍼즐 구현
- 빌드 주기
- 깃 허브 오류 해결
- Connecting Jenkins Agent
- 젠킨스 에이전트 연결
- 언리얼 빌드
- c언어강의
- 유니티
- Unreal Header Tool
- C언어기초
- dfs
- Connecting Jenkins
- UHT
- Jenkins
- 안드로이드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함