2018-08-15 14:28:13 +02:00
|
|
|
This repository uses subtrees to manage some of its externals.
|
|
|
|
|
|
|
|
## Initial setup
|
|
|
|
|
|
|
|
```
|
|
|
|
git remote add externals-fmt https://github.com/fmtlib/fmt.git
|
2020-04-22 22:05:25 +02:00
|
|
|
git remote add externals-mp https://github.com/MerryMage/mp.git
|
2018-08-15 14:28:13 +02:00
|
|
|
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
|
2020-04-22 22:05:25 +02:00
|
|
|
git fetch externals-mp
|
2018-08-15 14:28:13 +02:00
|
|
|
git fetch externals-xbyak
|
|
|
|
git subtree pull --squash --prefix=externals/fmt externals-fmt <ref>
|
2020-04-22 22:05:25 +02:00
|
|
|
git subtree pull --squash --prefix=externals/mp externals-mp <ref>
|
2018-08-15 14:28:13 +02:00
|
|
|
git subtree pull --squash --prefix=externals/xbyak externals-xbyak <ref>
|
|
|
|
```
|