summaryrefslogtreecommitdiffstats
path: root/man/repo.1
diff options
context:
space:
mode:
authorJosip Sokcevic <sokcevic@chromium.org>2024-12-16 22:30:07 +0000
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-12-18 09:23:49 -0800
commit13d6588bf60f0980ffa3d178441fa707655fee95 (patch)
tree38d1bd9e2ad3988739576d82d4d6a62ffd69364b /man/repo.1
parent9500aca754058bff18ddf35db62852ca4f722c63 (diff)
downloadgit-repo-13d6588bf60f0980ffa3d178441fa707655fee95.tar.gz
gc: Introduce new command to remove old projectsv2.50.1
When projects are removed from manifest, they are only removed from worktree and not from .repo/projects and .repo/project-objects. Keeping data under .repo can be desired if user expects deleted projects to be restored (e.g. checking out a release branch). Android has ongoing effort to remove many stale projects and this change allows users to easily free-up their disk space. Bug: b/344018971 Bug: 40013312 Change-Id: Id23c7524a88082ee6db908f9fd69dcd5d0c4f681 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/445921 Reviewed-by: Mike Frysinger <vapier@google.com> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Gavin Mak <gavinmak@google.com> Tested-by: Josip Sokcevic <sokcevic@chromium.org>
Diffstat (limited to 'man/repo.1')
-rw-r--r--man/repo.15
1 files changed, 4 insertions, 1 deletions
diff --git a/man/repo.1 b/man/repo.1
index bda68c39..1c05dcfc 100644
--- a/man/repo.1
+++ b/man/repo.1
@@ -1,5 +1,5 @@
1.\" DO NOT MODIFY THIS FILE! It was generated by help2man. 1.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2.TH REPO "1" "April 2024" "repo" "Repo Manual" 2.TH REPO "1" "December 2024" "repo" "Repo Manual"
3.SH NAME 3.SH NAME
4repo \- repository management tool built on top of git 4repo \- repository management tool built on top of git
5.SH SYNOPSIS 5.SH SYNOPSIS
@@ -79,6 +79,9 @@ Download and checkout a change
79forall 79forall
80Run a shell command in each project 80Run a shell command in each project
81.TP 81.TP
82gc
83Cleaning up internal repo state.
84.TP
82grep 85grep
83Print lines matching a pattern 86Print lines matching a pattern
84.TP 87.TP