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'作为一个选项出现在手册页 –