每當我嘗試提交更改到我的github回購時,我都會收到此錯誤。無法對github提交更改
To [email protected]:antarr/3skeleton.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '[email protected]:antarr/3skeleton.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.
如果我先做git pull
,它會改變我機器上的一些文件。哪種失敗的目的。
這很有道理。我更改database.yml不包括我的密碼,當我拉它時,更改我的機器上的密碼。謝謝。 – 2011-05-06 16:41:26