summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jamedjo@gmail.com>2017-12-15 12:20:42 +0000
committerJames Edwards-Jones <jamedjo@gmail.com>2017-12-15 12:20:42 +0000
commit77f99e2f75d4146a0334b3769ea84ebe8ffe83ac (patch)
tree7f9fb2ef48e5d446018a700e23a7e57359fdf4c3
parentea1d025e36cc7257d66b7f58f93f4674c909e590 (diff)
downloadgitlab-ce-39836-document-how-lfs-integrity-check-push-prevention-works.tar.gz
Document LFS integrity check and how to disable it39836-document-how-lfs-integrity-check-push-prevention-works
-rw-r--r--doc/workflow/lfs/manage_large_binaries_with_git_lfs.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md b/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md
index 6adde447975..4a437a64ca0 100644
--- a/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md
+++ b/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md
@@ -163,3 +163,12 @@ 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 have already exist in LFS on GitLab.
+
+Verify that LFS in installed locally and consider a manual push with `git lfs push --all`.
+
+If not using LFS storing LFS file outside of GitLab you can disable LFS on the project by settting `lfs_enabled: false` with the [projets api](../../api/projects.md#edit-project).