Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheapifyman <heapifyman@gmail.com>2017-02-21 14:46:31 +0300
committerheapifyman <heapifyman@gmail.com>2017-02-21 14:46:31 +0300
commit64f20dc1b5fddd56d05cf5a8e59f82cbd231b10c (patch)
treec379b632de0edeeb0b9747cdb1144db4e3406a42 /doc/workflow
parent459a97d46812fecc59c973bad356935422c7f60e (diff)
Update manage_large_binaries_with_git_lfs.md
Add note to include .gitattributes file in repository - see instructions here: https://git-lfs.github.com/
Diffstat (limited to 'doc/workflow')
-rw-r--r--doc/workflow/lfs/manage_large_binaries_with_git_lfs.md6
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..3e48c88f55f 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