Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- grafana
- docker
- optional chaining
- Proxy Resource
- Await
- On-Premise
- Site-to-Site VPN
- prometheus
- api gateway
- elasticsearch
- vgw
- transit gateway
- 옵셔널 체이닝
- 온프레미스
- JavaScript
- null 병합 연산자
- DynamoDB
- 구조분해 할당
- CloudFormation
- cognito
- 비구조화 할당
- AWS
- VPC
- Kubernetes
- docker swarm
- Endpoints
- 자바스크립트
- 단축 평가
- Custom Resource
- Service
Archives
- Today
- Total
만자의 개발일지
[Git] ! [rejected] main -> main (non-fast-forward) 해결 방법 본문
원인
로컬에서 깃헙에 있는 원격 레포지토리에 푸쉬하려하는데 자꾸 저런 에러를 뱉는다.
이유는 관련없는 두 저장소를 병합하는 것은 안되도록 설정되어 있기 때문이다.
해결 방법
브랜치 이름 앞에 +를 붙여주시면 됩니다.
$ git push https://~ +main
'Git' 카테고리의 다른 글
[Git] Git 유실된 커밋 복구하는 법 (0) | 2022.02.07 |
---|
Comments