Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Resolving Git Large File Storage upload failures

If your Git LFS files didn't upload properly, you can take several steps to troubleshoot the upload error.

The Git LFS integrity check ensures that all referenced Git LFS files in a push have been uploaded properly. If the check detects referenced files that have not been uploaded, you will receive an error message and your push will be blocked.

To resolve the error message, you must reinstall your local Git LFS client to ensure that the referenced Git LFS files can be properly uploaded in the future.

  1. Open Terminal.

  2. Reinstall Git LFS.

    git lfs install
    
  3. Push all referenced Git LFS files.

    git lfs push --all origin