【发布时间】:2015-10-22 10:41:48
【问题描述】:
我在 cygwin 中使用 git。从 cygwin shell 获取和克隆远程 repo 工作。但从 IntellJ IDEA 失败并显示消息:
获取失败:致命:解包对象失败
当尝试从 cygwin 执行 git pull 时,它可以工作,但从 IntelliJ 失败并出现错误:
致命:'pull' 似乎是一个 git 命令,但我们不是
知道怎么解决吗?
这是我的 git 配置:
core.autocrlf=true
user.name=MyUser
user.email=my@email.com
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
remote.origin.url=git@git.somedomain.com:myproject/myproject.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
【问题讨论】:
标签: git intellij-idea cygwin