Skip to content

Instantly share code, notes, and snippets.

@salipro4ever
Last active March 31, 2023 10:14
Show Gist options
  • Save salipro4ever/1184004fec3f097c75126bc6a101009e to your computer and use it in GitHub Desktop.
Save salipro4ever/1184004fec3f097c75126bc6a101009e to your computer and use it in GitHub Desktop.
[ERROR] fatal: git fetch-pack: expected shallow list

CAUSE:

Start by checking installed version of git on your CentOS 7 server. This version dont support "git fetch-pack"

$ git --version
git version 1.8.3.1

FIXED:

sudo yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm

-- sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm

sudo yum install git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment