From afb1267ff0324c0d9ee2df69fbdcad591b64d03a Mon Sep 17 00:00:00 2001 From: curben Date: Thu, 7 Mar 2019 11:09:54 +1030 Subject: [PATCH] docs: mention shallow cloning --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 341500c5..09e36c36 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,14 @@ Please report malware URL to the upstream maintainer through https://urlhaus.abu This repo is not endorsed by Abuse.sh. +## Cloning + +Since the filter is updated frequently, cloning the repo would become slower over time as the revision grows. + +Use shallow clone to get the recent revisions only. Getting the last five revisions is sufficient for a valid MR. + +`git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git` + ## License [Creative Commons Zero v1.0 Universal](LICENSE.md)