codestates / codestates/memory.json

[Error] git pull upstream dev >> Conflict

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
error
Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### 어떤 에러인가요?
* upstream에서 내 로컬로 pull을 하게 되면 충돌 및 에러가 발생한다.

### 에러 메시지
```
error: Your local changes to the following files would be overwritten by merge:
Automatic merge failed; fix conflicts and then commit the result.
```

### 에러 핸들링 방법
* 핸들링 방법 기록
```
// 내 로컬의 파일과 upstream에서 가져오는 파일이 달라서 나오는 메시지이다.
// vscode에서 git pull upstream dev 를 실행하게 되면, 로컬과 upstream을 비교해서 겹치는 부분을 볼 수 있다.
// 각각의 파일에서 current, incoming, both 중 하나를 선택하여 내 로컬에 적용해준다.
// 이후,
git add .
git commit
git push origin dev
// 를 진행하여 변경사항이 적용된 로컬의 파일을 나의 원격 repository로 보내주고,
// 이후, upstream 으로 PR을 보낸다.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No documentation file is named; first locate the repository's existing contribution or Git workflow guidance. Record the reported git pull upstream dev conflict, VS Code resolution choices, and the listed add/commit/push sequence, then verify that the guidance is clear and consistent with the repository's workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.