티스토리 뷰
git push origin main
To https://github.com/xoxowo/HYJ_Board.git
! [rejected] main -> main (non-fast-forward)
error: failed to push some refs to 'https://github.com/xoxowo/HYJ_Board.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and 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.
❗ 내 경우엔 A 브랜치에서 작업을 하고 A 브랜치가 아닌 다른 브랜치에 git push 했을 때 발생
📌 해당 오류의 경우 다양한 상황에서 발생하는 오류이기 때문에 각 상황에 따라 해결해야한다.
원인에 기재했듯 push 할 브랜치명을 작업중인 A 브랜치로 변경해주었더니 정상적으로 해결됐다.
'study > Error' 카테고리의 다른 글
git Username, Password ... (0) | 2023.08.14 |
---|---|
[Error] .properties 인코딩 오류 (0) | 2023.03.31 |
[Error] maven-war-plugin (0) | 2023.01.30 |
[Error] java.sql.SQLException - 'caching_sha2_password'. (0) | 2023.01.17 |
[Error] Java MySQL 8 연결 오류 - Establishing SSL connection without server's identity verification is not recommended. (0) | 2023.01.16 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- django
- 한글 형태소 분석기
- musma
- Django tutorial
- 환경 변수 설정
- 커맨드 객체
- Spring
- git
- 면접을 위한 CS 전공 지식 노트
- 혼자 공부하는 파이썬
- authenticate()
- 암호화
- 회원가입
- python3
- 웹페이지
- error: failed to push some refs to 'https://github.com/
- 배열
- API
- Python
- 디자인 패턴
- path variable
- 톰캣
- 회원 로그인
- Java
- django-environ
- git 공부
- 검색 결과 내 페이지네이션
- git공부
- Magazine K
- django.contrib.auth
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함