diff options
Diffstat (limited to 'doc/topics/git/lfs')
-rw-r--r-- | doc/topics/git/lfs/index.md | 2 | ||||
-rw-r--r-- | doc/topics/git/lfs/migrate_from_git_annex_to_git_lfs.md | 4 | ||||
-rw-r--r-- | doc/topics/git/lfs/migrate_to_git_lfs.md | 5 |
3 files changed, 5 insertions, 6 deletions
diff --git a/doc/topics/git/lfs/index.md b/doc/topics/git/lfs/index.md index f6e0cdee2cf..6179175b4cd 100644 --- a/doc/topics/git/lfs/index.md +++ b/doc/topics/git/lfs/index.md @@ -96,7 +96,7 @@ git lfs fetch origin master Make sure your files aren't listed in `.gitignore`, otherwise, they will be ignored by Git thus will not be pushed to the remote repository. -### Migrate an existing repo to Git LFS +### Migrate an existing repository to Git LFS Read the documentation on how to [migrate an existing Git repository with Git LFS](migrate_to_git_lfs.md). diff --git a/doc/topics/git/lfs/migrate_from_git_annex_to_git_lfs.md b/doc/topics/git/lfs/migrate_from_git_annex_to_git_lfs.md index 30be9c42f01..3bd754aabfb 100644 --- a/doc/topics/git/lfs/migrate_from_git_annex_to_git_lfs.md +++ b/doc/topics/git/lfs/migrate_from_git_annex_to_git_lfs.md @@ -71,7 +71,7 @@ Fire up a terminal, navigate to your Git repository and: git push ``` -### Disabling Git Annex in your repo +### Disabling Git Annex in your repository Before changing anything, make sure you have a backup of your repository first. There are a couple of ways to do that, but you can simply clone it to another @@ -164,7 +164,7 @@ At this point, you have two options. Either add, commit and push the files directly back to GitLab or switch to Git LFS. We will tackle the LFS switch in the next section. -### Enabling Git LFS in your repo +### Enabling Git LFS in your repository Git LFS is enabled by default on all GitLab products (GitLab CE, GitLab EE, GitLab.com), therefore, you don't need to do anything server-side. diff --git a/doc/topics/git/lfs/migrate_to_git_lfs.md b/doc/topics/git/lfs/migrate_to_git_lfs.md index 941fc281e4c..ef2675db6d4 100644 --- a/doc/topics/git/lfs/migrate_to_git_lfs.md +++ b/doc/topics/git/lfs/migrate_to_git_lfs.md @@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w description: "How to migrate an existing Git repository to Git LFS with BFG." --- -# Migrate a Git repo into Git LFS with BFG +# Migrate a Git repository into Git LFS with BFG Using Git LFS can help you to reduce the size of your Git repository and improve its performance. @@ -38,7 +38,6 @@ Before beginning, make sure: Storage is required for the entire history of all files. - All the team members you share the repository with have pushed all changes. Branches based on the repository before applying this method cannot be merged. - Branches based on the repo before applying this method cannot be merged. To follow this tutorial, you need: @@ -74,7 +73,7 @@ Consider an example upstream project, `git@gitlab.com:gitlab-tests/test-git-lfs- 1. Clone `--mirror` the repository: Cloning with the mirror flag creates a bare repository. - This ensures you get all the branches within the repo. + This ensures you get all the branches within the repository. It creates a directory called `<repo-name>.git` (in our example, `test-git-lfs-repo-migration.git`), |