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
- Copy a short, fixed part of the error your terminal printed (no file or repository name).
- Search it on this page with Ctrl+F (Cmd+F on macOS).
- 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
| Message | Page |
|---|---|
Encountered 2 files that should have been pointers, but weren't | Files That Should Have Been Pointers |
should have been a pointer but was not | Files That Should Have Been Pointers |
Object does not exist: [404] | LFS Object Does Not Exist |
smudge filter lfs failed | LFS Object Does Not Exist |
git: 'lfs' is not a git command | git-lfs Is Not Installed |
git-lfs: not found | git-lfs Is Not Installed |
This repository is configured for Git LFS but 'git-lfs' was not found on your path | git-lfs Is Not Installed |
LFS: LFS object too large | LFS Object Too Large |
Git LFS file locking is not supported on this server | LFS File Locking Not Supported |
Use a Personal Access Token as your password, not your account password | Use a Personal Access Token |
remote: Access denied | Access Denied (403) |
The requested URL returned error: 403 | Access Denied (403) |
remote: Authentication required | Authentication Failed |
fatal: Authentication failed for | Authentication Failed |
fatal: could not read Username for | Could Not Read Username |
terminal prompts disabled | Could Not Read Username |
Repository not found | Repository Not Found |
fatal: repository '...' not found | Repository Not Found |
Permission denied (publickey) | Permission Denied (publickey) |
Host key verification failed. | Host Key Verification Failed |
No ED25519 host key is known for | Host Key Verification Failed |
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! | Host Key Verification Failed |
ssh: Could not resolve hostname | SSH Connection Failed |
Connection refused | SSH Connection Failed |
Connection timed out | SSH Connection Failed |
Unsupported key type | Key Not Accepted |
This key is too weak | Key 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 not | Push Rejected: Fetch First / Non-Fast-Forward |
error: src refspec main does not match any | src refspec Does Not Match Any |
error: RPC failed; HTTP 413 | Push Too Large (HTTP 413) |
The requested URL returned error: 423 | Repository Locked |
Pushes are suspended for maintenance | Maintenance and Busy Messages |
Git access is suspended for maintenance | Maintenance and Busy Messages |
The repository is busy with another write | Maintenance and Busy Messages |
The repository is locked for maintenance | Maintenance and Busy Messages |
The git service is busy | Maintenance and Busy Messages |