diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-27 12:03:41 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-27 12:03:41 +0000 |
commit | 82f6c0f5ac4ed29390ed90592d2c431f3494d93f (patch) | |
tree | 39f340f6500168d0a8e926243d9a8383c99c7e0c /doc/workflow | |
parent | a39d65b8f6e1a23c00cb1f076e9893f9642ad3b1 (diff) | |
parent | e7899f5f1a68b23eb8e5d74ec6baa8d0ba508a2d (diff) | |
download | gitlab-ce-82f6c0f5ac4ed29390ed90592d2c431f3494d93f.tar.gz |
Merge branch 'patch-14' into 'master'
Update manage_large_binaries_with_git_lfs.md
See merge request !9412
Diffstat (limited to 'doc/workflow')
-rw-r--r-- | doc/workflow/lfs/manage_large_binaries_with_git_lfs.md | 6 |
1 files changed, 6 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 8c5020bee37..9cc45065eb2 100644 --- a/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md +++ b/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md @@ -63,6 +63,12 @@ git commit -am "Added Debian iso" # commit the file meta data git push origin master # sync the git repo and large file to the GitLab server ``` +>**Note**: Make sure that `.gitattributes` is tracked by git. Otherwise Git + LFS will not be working properly for people cloning the project. + ```bash + git add .gitattributes + ``` + Cloning the repository works the same as before. Git automatically detects the LFS-tracked files and clones them via HTTP. If you performed the git clone command with a SSH URL, you have to enter your GitLab credentials for HTTP |