diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 09:10:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 09:10:52 +0000 |
commit | a7b422860c90eecd1b98845d234a8347686fbdcf (patch) | |
tree | f4a63124ef328ce146a82453b091e10f8189da36 /doc/raketasks | |
parent | b2362c5f21e373820afc7d7a01ed104eaedd0e49 (diff) | |
download | gitlab-ce-a7b422860c90eecd1b98845d234a8347686fbdcf.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/import.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/raketasks/import.md b/doc/raketasks/import.md index 5c95fe2eca1..9ccf238769d 100644 --- a/doc/raketasks/import.md +++ b/doc/raketasks/import.md @@ -19,7 +19,8 @@ Note that: - Existing projects are skipped. - Projects in hashed storage may be skipped. For more information, see [Importing bare repositories from hashed storage](#importing-bare-repositories-from-hashed-storage). -- The existing Git repositories ware moved from disk (removed from the original path). +- The existing Git repositories are moved from disk (removed from the original path). +- You must manually [push Git LFS objects](#push-git-lfs-objects). To import bare repositories into a GitLab instance: @@ -152,3 +153,12 @@ projects (this may take a while if there are 1000s of projects in a namespace): namespace = Namespace.find_by_full_path('gitlab-org') namespace.send(:write_projects_repository_config) ``` + +## Push Git LFS objects + +The import task doesn't import Git LFS objects. You must manually push the LFS objects to the newly +created GitLab repository using the following command: + +```shell +git lfs push --all +``` |