summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/README.md1
-rw-r--r--doc/administration/housekeeping.md13
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/README.md b/doc/README.md
index 8e259c364aa..5089e1e70f6 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -69,6 +69,7 @@
- [Reply by email](incoming_email/README.md) Allow users to comment on issues and merge requests by replying to notification emails.
- [Migrate GitLab CI to CE/EE](migrate_ci_to_ce/README.md) Follow this guide to migrate your existing GitLab CI data to GitLab CE/EE.
- [Git LFS configuration](workflow/lfs/lfs_administration.md)
+- [Housekeeping](administration/housekeeping.md) Keep your Git repository tidy and fast.
- [GitLab Performance Monitoring](monitoring/performance/introduction.md) Configure GitLab and InfluxDB for measuring performance metrics
## Contributor documentation
diff --git a/doc/administration/housekeeping.md b/doc/administration/housekeeping.md
new file mode 100644
index 00000000000..b90f916fea9
--- /dev/null
+++ b/doc/administration/housekeeping.md
@@ -0,0 +1,13 @@
+# Housekeeping
+
+## Introduction
+
+The housekeeping function runs `git gc` on the current project git repository.
+
+`git gc` runs a number of housekeeping tasks, such as compressing file revisions (to reduce disk space and increase performance) and removing unreachable objects which may have been created from prior invocations of git add.
+
+See https://www.kernel.org/pub/software/scm/git/docs/git-gc.html for details.
+
+## Where can I find it?
+
+Just go to your project settings page and you will find the housekeeping function below the project settings form.