Your Code. Your Rules.

Knowledge Base

git.eu error messages and their fixes - Git LFS, HTTPS authentication, SSH and push - one page per error.

Knowledge Base

One page per git error you can meet on git.eu: the exact message, why it happens, how to check it, and how to fix it.

How to Use It

  1. Copy a short, fixed part of the error your terminal printed (no file or repository name).
  2. Search it on this page with Ctrl+F (Cmd+F on macOS).
  3. Open the page in the matching row.

Every page has the same parts: Symptom, Cause, Diagnose, Fix (the safe option first), Verify, Prevent and Related.

Topics

  • Git LFS - files that should have been pointers, missing objects, git-lfs not installed, size limit, file locking.
  • HTTPS Authentication - tokens, refused credentials, missing credentials, repository not found.
  • SSH - refused keys, host keys, connection problems, key registration.
  • Push - rejected pushes, empty repositories, size limit, locked repositories, maintenance.

Error Messages

MessagePage
Encountered 2 files that should have been pointers, but weren'tFiles That Should Have Been Pointers
should have been a pointer but was notFiles That Should Have Been Pointers
Object does not exist: [404]LFS Object Does Not Exist
smudge filter lfs failedLFS Object Does Not Exist
git: 'lfs' is not a git commandgit-lfs Is Not Installed
git-lfs: not foundgit-lfs Is Not Installed
This repository is configured for Git LFS but 'git-lfs' was not found on your pathgit-lfs Is Not Installed
LFS: LFS object too largeLFS Object Too Large
Git LFS file locking is not supported on this serverLFS File Locking Not Supported
Use a Personal Access Token as your password, not your account passwordUse a Personal Access Token
remote: Access deniedAccess Denied (403)
The requested URL returned error: 403Access Denied (403)
remote: Authentication requiredAuthentication Failed
fatal: Authentication failed forAuthentication Failed
fatal: could not read Username forCould Not Read Username
terminal prompts disabledCould Not Read Username
Repository not foundRepository Not Found
fatal: repository '...' not foundRepository Not Found
Permission denied (publickey)Permission Denied (publickey)
Host key verification failed.Host Key Verification Failed
No ED25519 host key is known forHost Key Verification Failed
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!Host Key Verification Failed
ssh: Could not resolve hostnameSSH Connection Failed
Connection refusedSSH Connection Failed
Connection timed outSSH Connection Failed
Unsupported key typeKey Not Accepted
This key is too weakKey Not Accepted
Invalid public key format.Key Not Accepted
This key has already been added.Key Not Accepted
This key is too large.Key Not Accepted
! [rejected] main -> main (fetch first)Push Rejected: Fetch First / Non-Fast-Forward
! [rejected] main -> main (non-fast-forward)Push Rejected: Fetch First / Non-Fast-Forward
Updates were rejected because the remote contains work that you do notPush Rejected: Fetch First / Non-Fast-Forward
error: src refspec main does not match anysrc refspec Does Not Match Any
error: RPC failed; HTTP 413Push Too Large (HTTP 413)
The requested URL returned error: 423Repository Locked
Pushes are suspended for maintenanceMaintenance and Busy Messages
Git access is suspended for maintenanceMaintenance and Busy Messages
The repository is busy with another writeMaintenance and Busy Messages
The repository is locked for maintenanceMaintenance and Busy Messages
The git service is busyMaintenance and Busy Messages