2011-08-05 6 views
0

heroku로 밀어 넣으려고 할 때 다음 오류가 발생합니다.루비 온 레일즈 : Git Push to Heroku

[sample_app (master)]$ git push heroku 
To [email protected]:zachstwitterclone.git 
! [rejected]  master -> master (non-fast-forward) 
error: failed to push some refs to '[email protected]:zachstwitterclone.git' 
To prevent you from losing history, non-fast-forward updates were rejected 
Merge the remote changes (e.g. 'git pull') before pushing again. See the 
'Note about fast-forwards' section of 'git push --help' for details. 

어떻게해야합니까?

+4

'git push --help'의 'fast-forwards'섹션을보십시오. – Thilo

답변

3

당신은 힘내에서 조금 더 읽어야합니다. 힘내라 잠재적으로 파괴적인 행동을 취하는 것을 막는다. 이 질문은 Rails 나 Heroku와 전혀 관련이 없습니다.

일반 git 정보는 http://git-scm.com/book을 참조하십시오. 특히 분산 리포지토리 작업에 관련된 정보는 this chapter을 참조하십시오.

관련 문제