简体   繁体   English

“git pull”没有任何反应

[英]Nothing happens with a `git pull`

Since yesterday, I have a big issue with my Professional computer : I cannot use git pull . 从昨天开始,我的专业电脑存在很大问题:我无法使用git pull This is really weird because every other git command's works. 这真的很奇怪,因为每个其他git命令都有效。

What I tried : 我尝试了什么:

  • Reinstalling Github for Windows, Git Shell, etc... 重新安装Github for Windows,Git Shell等...
  • Look if I can access to the remote server (git push work, I can ping the remote server). 看看我是否可以访问远程服务器(git push work,我可以ping远程服务器)。

GIT_TRACE=1 git pull return : GIT_TRACE=1 git pull return:

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

An other thing is strange : now on a git repository, I didn't see the current repository on the git shell : 另一件事很奇怪:现在在git存储库上,我没有在git shell上看到当前的存储库:

MY_USER@MY_COMPUTER /c/Github/myRepo 
$

Usually, my CLI looks like this : 通常,我的CLI看起来像这样:

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

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. 我的配置 :Windows 8.1 Professional和Github for Windows,我正在使用Git shell。

If someone has an idea to fix this or how can I debug this command, I appreciate. 如果有人有想法解决这个问题或者如何调试此命令,我很感激。

EDIT 编辑

git remote -v returns : 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 returns : 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命令(如ls ,我的提示命令clear )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM