git pull로 땡겨오면 아래와 같이 충돌난 부분이 생성
[Before]
If you have questions, please
<<<<<<< HEAD open an issue
======= ask your question in IRC.
>>>>>>> branch-a
[after] 원하는 부분을 남긴 후,
If you have questions, please
아래와 같이 add & commit
#git add .
#git commit -m "Resolved"
출처 :
https://help.github.com/en/articles/resolving-a-merge-conflict-using-the-command-line
'etc' 카테고리의 다른 글
vscode highlight error disable (0) | 2022.09.30 |
---|---|
풀업(pull up) 풀다운(pull down) (0) | 2019.11.22 |
git diff oldmode newmode 메시지 제거 (0) | 2019.05.17 |
지연성 근육통 예방을 위한 운동법 (0) | 2019.02.14 |
git patch 활용 (0) | 2018.08.06 |