본문 바로가기
개발/안드로이드

android studio github error (non-fast-forward)

by 로그인시러 2016. 10. 24.



출처 : http://stackoverflow.com/questions/11696295/rejected-master-master-non-fast-forward




1) Try this: git push -f origin master



2) ! [rejected] master -> master (non-fast-forward)

Don’t panic, this is extremely easy to fix. All you have to do is issue a pull and your branch will be fast-forward:

$ git pull myrepo master

Then retry your push and everything should be fine:

$ git push github master

'개발 > 안드로이드' 카테고리의 다른 글

how to get activity's content view  (0) 2016.11.08
android insufficient permissions error 9  (0) 2016.11.06
안드로이드 button 클릭 이벤트 처리 4가지  (0) 2016.10.20
Youtube Data api v3 사용  (0) 2016.10.10
restful  (0) 2016.10.10

댓글