我在使用git和golang时遇到了麻烦。我刚刚安装了版本go get package
,当我执行任何git pull --ff-only
fatal: 'pull' appears to be a git command, but we were not
able to execute it. Maybe git-pull is broken?
命令时,我收到此消息:
yum reinstall git
所以,我做了两次重新安装git:
yum remove git, yum clean all, yum install git
git version 1.8.3.1
但是,我仍然收到相同的错误消息。
还有什么可以给我带来麻烦?
当前版本的git是{{1}},我的操作系统是CentOS7。