0
我使用Git(從GitHub上的Windows發行版),並試圖從我的回購拉,我得到以下錯誤:錯誤:無法打開的.git/FETCH_HEAD:無效的參數
D:\Code\dopey-weaver [master]> git fetch
error: cannot open .git/FETCH_HEAD: Invalid argument
D:\Code\dopey-weaver [master]> git fetch --verbose
error: cannot open .git/FETCH_HEAD: Invalid argument
這ISN 「T在‘權限被拒絕’的其他許多問題,所以好像我是一個特別的雪花......我可以打開.git/FETCH_HEAD
和它看起來罰款(?):
010779f14f5bdf1d2d806a0ce0ac4c5e50314186 branch 'master' of https://github.com/nicktimko/dopey-weaver
我覺得我有一些衝突與遙控器上的東西,所以我應該拉/合併,但我甚至無法開始...推出錯誤消息看起來有點長(這是hg
說:「這將創建多個頭」中沒有太多的言語相當於?)
D:\Code\dopey-weaver [master]> git push
To https://github.com/nicktimko/dopey-weaver.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/nicktimko/dopey-weaver.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
可以試試'strace的混帳fetch' –
--verbose不混帳的Ubuntu的版本的選項。你確定它在Windows下受支持嗎? – donjuedo
@StevenPenny它給出了完全相同的錯誤,我只是試圖讓它可能吐出更多東西。 '--verbose'作爲一個選項出現在手冊頁 –