Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- JavaScript
- 줄바꿈 문자
- 네트워크
- 단축키
- port
- VirtualBox
- netsh
- Windows 10
- xargs
- Quartz
- find
- plugin
- tomcat
- profile
- import
- bash
- vscode
- Windows
- lsof
- Source
- resource
- ssh
- GIT
- web.xml
- Mac
- IntelliJ
- context
- maVen
- grep
- Eclipse
Archives
- Today
- Total
develog
[git] merge conflict --ours --theirs 본문
# --ours, 현재 브랜치 수정사항으로 반영하기 (모든 파일)
git checkout --ours -- .
# --theirs, 대상 브랜치 수정사항으로 반영하기 (모든 파일)
git checkout --theirs -- .
# --ours, 현재 브랜치 내용으로 머지 (특정 파일)
git checkout --ours README.md
# --theirs, 대상 브랜치 내용으로 머지 (특정 파일)
git checkout --theirs README.md
git add .
git commit -m 'resolve conflict'
git push
Comments