codestates / codestates/colordiary

Error Handling: Need to specify how to reconcile divergent branches. ( git pull)

Open
#62 0 comments 0 reactions 1 assignee Claimed by @maeve1109 View on GitHub
Error-Handling
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 어떤 에러인가요?
- git pull을 했을 때 에러가 나며 pull이 안됨
## 에러 메시지
```
$ fatal: Need to specify how to reconcile divergent branches.
```
## 에러 핸들링 방법
- git pull 전략이라는 게 있어서 찾아봤다.
```
git config pull.rebase false // pull 시 merge 하겠다.
git config pull.rebase true // pull 시 rebase 하겠다.
git config pull.ff only // fast-forward 일 때만 pull 하겠다.
```
## 에러 핸들링을 위해 참고한 레퍼런스 링크
[git pull 전략](https://wookkl.tistory.com/46)
[fast-forward](https://minemanemo.tistory.com/46)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.