简体   繁体   中英

Nothing happens with a `git pull`

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.

What I tried :

  • Reinstalling Github for Windows, Git Shell, etc...
  • Look if I can access to the remote server (git push work, I can ping the remote server).

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 :

MY_USER@MY_COMPUTER /c/Github/myRepo 
$

Usually, my CLI looks like this :

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.

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
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
# 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 )。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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