[ Error ]
error: android/device/xxx/: branch xxxxxxx is published (but not merged) and is now 2 commits behind
[ 해결방법 ]
브랜치를 날리고 새로 받는다.
$ rm -rf xxx : error 가 발생하는 폴더를 삭제한다.
$ repo sync xxx : 해당 폴더를 생성하고 소스까지 내려받는다.( mkdir xxx → cd xxx → repo sync . 과 같음)
$ cd xxx
$ git branch : 현재 가지고 있는 브랜치명을 출력한다.
$ git branch -D 브랜치명 : 위의 브랜치명을 입력하여 해당 브랜치를 삭제한다.
$ repo start 브랜치명 --all : no branch 상태이므로 브랜치를 다시 시작한다.
'Android' 카테고리의 다른 글
Andoird 로그 분석을 용이하게 돕는 Keyword (3) | 2012.03.31 |
---|---|
Android CTS(Compatibility Test Suite) (1) | 2012.01.17 |
[Android] adb(Android Debug Bridge) (1) | 2011.04.08 |