Allow to download reposize.sh script from Gerrit
Change-Id: Ic8d81a64a89fe0046fccc13e7892acbe52c55bc4 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -688,9 +688,16 @@ stays intact; signed tags will lose their signature):
|
|||||||
If a link:config-gerrit.html#receive.maxObjectSizeLimit[max object size
|
If a link:config-gerrit.html#receive.maxObjectSizeLimit[max object size
|
||||||
limit] is configured on the server you may need to remove large objects
|
limit] is configured on the server you may need to remove large objects
|
||||||
from the history before you are able to push. To find large objects in
|
from the history before you are able to push. To find large objects in
|
||||||
the history of your project you can use the
|
the history of your project you can use the `reposize.sh` script which
|
||||||
link:https://gerrit.googlesource.com/gerrit/+/master/contrib/reposize.sh[
|
you can download from Gerrit:
|
||||||
reposize.sh] script from Gerrit's `contrib` folder. You can then use the
|
|
||||||
|
$ curl -Lo reposize.sh http://review.example.com:8080/tools/scripts/reposize.sh
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
$ scp -p -P 29418 john.doe@review.example.com:scripts/reposize.sh .
|
||||||
|
|
||||||
|
You can then use the
|
||||||
link:https://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html[
|
link:https://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html[
|
||||||
git filter-branch] command to remove the large objects from the history
|
git filter-branch] command to remove the large objects from the history
|
||||||
of all branches:
|
of all branches:
|
||||||
|
@@ -4,3 +4,5 @@
|
|||||||
755 bin/gerrit-cherry-pick
|
755 bin/gerrit-cherry-pick
|
||||||
|
|
||||||
755 hooks/commit-msg
|
755 hooks/commit-msg
|
||||||
|
|
||||||
|
755 scripts/reposize.sh
|
||||||
|
Reference in New Issue
Block a user