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