aboutsummaryrefslogtreecommitdiff
path: root/test/lint/README.md
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2020-06-12 12:33:00 +0200
committerSjors Provoost <sjors@sprovoost.nl>2020-06-12 13:31:42 +0200
commita4a3fc4cd2e6f53cdffcc2962fd152a4e40c7413 (patch)
tree53c5e80fdb38756469c7a7404ca2c6debc823b7b /test/lint/README.md
parent6762a627ecb89ba8d4ed81a049a5d802e6dd75c2 (diff)
doc: improve subtree check instructions
Diffstat (limited to 'test/lint/README.md')
-rw-r--r--test/lint/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lint/README.md b/test/lint/README.md
index 6b95cc3540..d15c061288 100644
--- a/test/lint/README.md
+++ b/test/lint/README.md
@@ -23,6 +23,12 @@ maintained:
* for `src/crypto/ctaes`: https://github.com/bitcoin-core/ctaes.git (branch master)
* for `src/crc32c`: https://github.com/google/crc32c.git (branch master)
+To do so, add the upstream repository as remote:
+
+```
+git remote add --fetch secp256k1 https://github.com/bitcoin-core/secp256k1.git
+```
+
Usage: `git-subtree-check.sh DIR (COMMIT)`
`COMMIT` may be omitted, in which case `HEAD` is used.