1. 가장 최신의 git 을 새로 받는다.
2. 수정된 내용의 cherry-pick 을 가지고 온다. 그러면 아래와 같이 error 가 발생할 것이다.
$ git fetch [ cherry-pick ]
remote: Counting objects: 9, done
remote: Finding sources: 100% (5/5)
remote: Total 5 (delta 3), reused 5 (delta 3)
Unpacking objects: 100% (5/5), done.
From ssh://---
* branch refs/changes/64/29964/3 -> FETCH_HEAD
error: could not apply a2e8212...
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
3. 그러면 수정된 파일을 열어가지고, 내가 덮어쓸 commit 내용으로 수정한다.
4. git add [수정된파일]
5. git commit -c a2e8212 // 이 숫자는 위에 error 발생지점을 참고하자.
6. git push origin master:refs/for/master
끝!
[git] tag 관련 tip (0) | 2014.07.10 |
---|---|
아이폰 전원이 갑자기 꺼졌을 때 ( 전원 꺼짐 현상 해결 방법 ) (0) | 2014.06.29 |
티스토리 드래그 금지, 복사 금지, 불펌 금지 (0) | 2014.05.01 |
티스토리 글씨체를 맑은고딕으로 변경하기 (0) | 2014.05.01 |