Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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://[email protected]/PROJECT/windows/PROJECT_repo.git (fetch)
origin  https://[email protected]/PROJECT/windows/PROJECT_repo.git (push)

git statusreturns :

$ 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
like image 730
Joffrey Kern Avatar asked Jul 30 '26 09:07

Joffrey Kern


1 Answers

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

like image 96
Joffrey Kern Avatar answered Aug 02 '26 00:08

Joffrey Kern



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!