更新git for windows到版本2.11后无法使用ip地址推送

时间:2016-12-09 08:10:10

标签: windows git

我刚刚将git for windows升级到版本2.11,现在我无法推送,如果我的回购地址以ip开头,例如//192.168.1.1

是因为双正斜杠吗?

以下是错误消息:

git.exe push --progress "origin" master:master

Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 669 bytes | 0 bytes/s, done.
Total 6 (delta 2), reused 0 (delta 0)
remote: error: object directory /192.168.2.68/git/videoHandler.git/objects does not exist; check .git/objects/info/alternates.
remote: fatal: unresolved deltas left after unpacking
error: unpack failed: unpack-objects abnormal exit
To //192.168.2.68/git/videoHandler.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to '//192.168.2.68/git/videoHandler.git'


git did not exit cleanly (exit code 1) (1859 ms @ 09-Dec-16 4:07:23 PM)

git remote show origin

remote origin
  Fetch URL: //192.168.2.68/git/videoHandler.git
  Push  URL: //192.168.2.68/git/videoHandler.git
  HEAD branch: master
  Remote branch:
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (fast-forwardable)

0 个答案:

没有答案