externals: Document subtrees
This commit is contained in:
parent
7ef7def661
commit
627159b9f2
1 changed files with 19 additions and 0 deletions
19
externals/README.md
vendored
Normal file
19
externals/README.md
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
This repository uses subtrees to manage some of its externals.
|
||||
|
||||
## Initial setup
|
||||
|
||||
```
|
||||
git remote add externals-fmt https://github.com/fmtlib/fmt.git
|
||||
git remote add externals-xbyak https://github.com/herumi/xbyak.git
|
||||
```
|
||||
|
||||
## Updating
|
||||
|
||||
Change `<ref>` to refer to the appropriate git reference.
|
||||
|
||||
```
|
||||
git fetch externals-fmt
|
||||
git fetch externals-xbyak
|
||||
git subtree pull --squash --prefix=externals/fmt externals-fmt <ref>
|
||||
git subtree pull --squash --prefix=externals/xbyak externals-xbyak <ref>
|
||||
```
|
Loading…
Reference in a new issue