Merge branch '39836-document-how-lfs-integrity-check-push-prevention-works' into 'master'

Resolve "Document how LFS integrity check push prevention works"

Closes #39836

See merge request gitlab-org/gitlab-ce!15958
This commit is contained in:
Achilleas Pipinellis 2017-12-18 13:03:16 +00:00
commit 38dd7263e1
1 changed files with 8 additions and 0 deletions

View File

@ -163,3 +163,11 @@ For Windows, you can use `wincred` or Microsoft's [Git Credential Manager for Wi
More details about various methods of storing the user credentials can be found
on [Git Credential Storage documentation](https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage).
### LFS objects are missing on push
GitLab checks files to detect LFS pointers on push. If LFS pointers are detected, GitLab tries to verify that those files already exist in LFS on GitLab.
Verify that LFS in installed locally and consider a manual push with `git lfs push --all`.
If you are storing LFS files outside of GitLab you can disable LFS on the project by settting `lfs_enabled: false` with the [projets api](../../api/projects.md#edit-project).