summaryrefslogtreecommitdiff
path: root/doc/user/project/repository
diff options
context:
space:
mode:
authorMarcia Ramos <marcia@gitlab.com>2019-06-18 09:44:04 +0000
committerNick Thomas <nick@gitlab.com>2019-06-18 09:44:04 +0000
commit49558c1e518eb9a6f680b2d09eec76a5445d4e32 (patch)
treeafe718c20a8c991cc28e440cca5fe8255b0acbac /doc/user/project/repository
parente2d217f69ad711a6016806fa51532cfbbaa340bd (diff)
downloadgitlab-ce-49558c1e518eb9a6f680b2d09eec76a5445d4e32.tar.gz
Docs: Fixes all the alert boxes in "reduce repo size"
Diffstat (limited to 'doc/user/project/repository')
-rw-r--r--doc/user/project/repository/reducing_the_repo_size_using_git.md23
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/user/project/repository/reducing_the_repo_size_using_git.md b/doc/user/project/repository/reducing_the_repo_size_using_git.md
index 35ceb76dc0d..7765a3d7438 100644
--- a/doc/user/project/repository/reducing_the_repo_size_using_git.md
+++ b/doc/user/project/repository/reducing_the_repo_size_using_git.md
@@ -35,16 +35,16 @@ BFG Repo-Cleaner](#using-the-bfg-repo-cleaner). It's faster and simpler than
`git filter-branch`, and GitLab can use its account of what has changed to clean
up its own internal state, maximizing the space saved.
-> **Warning:**
-> Make sure to first make a copy of your repository since rewriting history will
-> purge the files and information you are about to delete. Also make sure to
-> inform any collaborators to not use `pull` after your changes, but use `rebase`.
+CAUTION: **Caution:**
+Make sure to first make a copy of your repository since rewriting history will
+purge the files and information you are about to delete. Also make sure to
+inform any collaborators to not use `pull` after your changes, but use `rebase`.
-> **Warning:**
-> This process is not suitable for removing sensitive data like password or keys
-> from your repository. Information about commits, including file content, is
-> cached in the database, and will remain visible even after they have been
-> removed from the repository.
+CAUTION: **Caution:**
+This process is not suitable for removing sensitive data like password or keys
+from your repository. Information about commits, including file content, is
+cached in the database, and will remain visible even after they have been
+removed from the repository.
## Using the BFG Repo-Cleaner
@@ -99,10 +99,11 @@ up its own internal state, maximizing the space saved.
`git gc` against the repository. You will receive an email once it has
completed.
+NOTE: **Note:**
This process will remove some copies of the rewritten commits from GitLab's
cache and database, but there are still numerous gaps in coverage - at present,
-some of the copies may persist indefinitely. [Clearing the instance cache](../../../administration/raketasks/maintenance.md#clear-redis-cache)
-may help to remove some of them, but it should not be depended on for security
+some of the copies may persist indefinitely. [Clearing the instance cache](../../../administration/raketasks/maintenance.md#clear-redis-cache)
+may help to remove some of them, but it should not be depended on for security
purposes!
## Using `git filter-branch`