일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- boto3
- Airflow
- blinker
- r-string
- os.path
- [초급(예비) 개발자 오픈소스 실무 역량강화 교육]
- Python
- functools.wraps
- 쿼리
- decorator
- 순수함수
- 생각
- timestamp
- selenium-wire
- CI/CD
- pandas
- ds_store
- reverse v.s. reversed
- PIP
- 코딩 테스트
- 고차함수
- 함수형 프로그래밍
- slicing [::-1]
- sort v.s. sorted
- sort(reverse=True) v.s. reverse
- S3
- OS
Archives
- Today
- Total
공부일지
[Git]git rebase 하다가 거부당했다... 본문
자주 발생하는 문제!
눈물을 흘리게 되는 골치아픈 문제,
바로 git rebase 할 때 깃으로부터 거부받는 ...
git pull origin local
>>> ! [rejected] 병합문제 크쿵
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
직접 conflicts를 수정한 뒤에 git add 했는데,
conflicts할 때 문자열로만 표시돼 있는 것들을 그냥 지우는 식으로 했다.
근데 자꾸 충돌이 났다.
충돌 (내용): <filename>에 병합 충돌
error: 다음을 적용할(apply) 수 없습니다
manually 수정할 때, '이 내용도 지워야지' 해서 추가로 지워서가 문제였다!
만약 헷갈리면 "양쪽 변경사항 모두 적용"을 선택하자.
수정하고 싶은 내용은 나중에 수정해야지.
버전 올리는 중에 할 필요는 없다.
다시 반복
git pull origin local
<파일 변경사항 직접 수정>
git add .
git rebase --continue
git push origin local
'Computer > 공부정리' 카테고리의 다른 글
[Python]UnboundLocalError: cannot access local variable 'result' where it is not associated with a value (0) | 2023.11.24 |
---|---|
[Python]unittest 쓰는 법 + if __name__ == '__main__' 쓰는 이유 (1) | 2023.11.24 |
[Excel]숫자 정렬 안 될 때 (1) | 2023.11.02 |
[AWS S3]이미지 덮어씌워진 문제해결 (0) | 2023.11.02 |
[Python]예외처리 시 에러메시지 보기 (0) | 2023.10.26 |