doc: improve subtree check instructions

This commit is contained in:
Sjors Provoost
2020-06-12 12:33:00 +02:00
parent 6762a627ec
commit a4a3fc4cd2
3 changed files with 8 additions and 2 deletions

View File

@@ -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.