Advent-of-Code-Aggregator/README.md

42 lines
1,019 B
Markdown
Raw Normal View History

2020-12-01 17:00:29 +01:00
# De Zeus Advent of Code
| Wie? | Waar? (Repository) | Taal? |
| :------------- | :-----------------------------------------------: | ---------: |
2021-11-29 11:42:45 +01:00
| ninewise | https://git.fuyu.moe/ninewise/adventofcode-2021 | ? |
2020-12-04 13:41:21 +01:00
* repo clonen:
2020-12-04 13:59:56 +01:00
```sh
2020-12-04 13:41:21 +01:00
git clone --recursive git@github.com:ZeusWPI/Advent-of-Code-Aggregator.git
2020-12-04 13:43:30 +01:00
```
2020-12-04 13:41:21 +01:00
2021-11-29 11:42:45 +01:00
* nieuwe persoon toevoegen:
2020-12-04 13:41:21 +01:00
2020-12-04 13:59:56 +01:00
```sh
2020-12-04 13:41:21 +01:00
git submodule add <link zoals in tabel> <naam zoals in tabel>
git commit -m 'hey guys ik heb een repo toegevoegd'
2020-12-04 13:43:30 +01:00
```
2020-12-04 13:41:21 +01:00
* uw lokale kopie updaten:
```sh
git pull # duh
git submodule update
```
* van alle submodules de nieuwste versie binnenhalen (zelfs als mensen *force push*en):
2020-12-04 13:41:21 +01:00
2020-12-04 13:59:56 +01:00
```sh
2020-12-04 13:43:30 +01:00
git submodule foreach git fetch origin
git submodule foreach git reset --hard origin/HEAD > /dev/null 2>&1
2020-12-04 13:41:21 +01:00
git add * # oh no
git commit -m 'update submodules'
2020-12-04 13:43:30 +01:00
```
2020-12-04 13:41:21 +01:00
* benchmarks uitvoeren:
2020-12-04 13:59:56 +01:00
```sh
2021-11-29 11:42:45 +01:00
cd "2021"
./complete-benchmark
2020-12-04 13:43:30 +01:00
```