git pull没有任何反应 [英] Nothing happens with a `git pull`

查看:1219
本文介绍了git pull没有任何反应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从昨天开始,我的专业计算机出现了一个大问题:我无法使用git pull.这真的很奇怪,因为其他所有git命令都起作用.

Since yesterday, I have a big issue with my Professional computer : I cannot use git pull. This is really weird because every other git command's works.

我尝试过的事情:

  • 为Windows,Git Shell等重新安装Github ...
  • 看看我是否可以访问远程服务器(git push工作,我可以ping通远程服务器).

GIT_TRACE=1 git pull返回:

$ GIT_TRACE=1 git pull
trace: exec: 'git-pull'
trace: run_command: 'git-pull'

另一件事很奇怪:现在在git存储库上,我在git shell上看不到当前存储库:

An other thing is strange : now on a git repository, I didn't see the current repository on the git shell :

MY_USER@MY_COMPUTER /c/Github/myRepo 
$

通常,我的CLI如下所示:

Usually, my CLI looks like this :

MY_USER@MY_COMPUTER /c/Github/myRepo <develop>
$

我认为问题出在软件上,因为在问题发布之前我得到了一个企业"软件包更新. 我的配置:具有适用于Windows的Github的Windows 8.1 Professional,并且我使用的是Git Shell.

I'm thinking the problem is software because I got an 'entreprise' package update just before the issue. My configuration : Windows 8.1 Professional with Github for Windows and I'm using Git shell.

如果有人有想法解决此问题或如何调试此命令,我将不胜感激.

If someone has an idea to fix this or how can I debug this command, I appreciate.

编辑

git remote -v返回:

$ git remote -v
origin  https://MY_USER@git-SI.enterprise.fr/PROJECT/windows/PROJECT_repo.git (fetch)
origin  https://MY_USER@git-SI.enterprise.fr/PROJECT/windows/PROJECT_repo.git (push)

git status返回:

$ git status
# On branch develop
# Your branch is ahead of 'origin/develop' by 1 commit.
#   (use "git push" to publish your local commits)
#
nothing to commit, working directory clean

推荐答案

问题是我们企业防病毒软件的更新:它阻止了所有bash命令(如我的提示命令中的lsclear).

The problem was an update of our enterprise antivirus software : it blocks all bash commands (like ls, clear on my prompt command).

这篇关于git pull没有任何反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆