問題/推未能一些裁判推到magit「https://github.com/myname/myrepo」
我開始使用magit,在git的經驗非常少。
我已經走線槽magit手動與成功:
adding
ignoring
staging
commiting locally
於是,我試着推github.com/myname。爲此,我使用「P P」,輸入我的用戶名和密碼。
如果失敗,
To
https://github.com/myname/myrepo
! [rejected] master -> master (non-fast-forward) error: failed to push some refs to'https://github.com/myname/myrepo'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push –help' for details.
git exited abnormally with code 1.
我以爲我會解決它在這裏與 混帳mentionned配置--global push.default當前 但它並不能幫助。
我有一個樂在Geting an error pushing to github - Updates were rejected because a pushed branch tip is behind its remote但did'nt得到它的工作
任何想法?
你讀過提示嗎? – SLaks 2013-02-10 19:58:36
@SLaks - 是的... thks無論如何 – JeanMichel 2013-02-10 21:13:00