codestates / codestates/memory.json
[Error] git pull upstream dev >> Conflict
- Langage dominant
- JavaScript
- Étoiles
- 1
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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을 보낸다.
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- git
- Domaine
- documentation
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 50/100