mirror of
https://github.com/ZeusWPI/Advent-of-Code-Aggregator.git
synced 2024-11-22 14:51:11 +01:00
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
# De Zeus Advent of Code
|
|
|
|
| Wie? | Waar? (Repository) | Taal? |
|
|
| :------------- | :------------------------------------------------: | ---------: |
|
|
| chvp | https://github.com/chvp/aoc2022 | Haskell |
|
|
| hvdncamp | https://github.com/hvdncamp/adventofcode-2022 | C |
|
|
|
|
|
|
* repo clonen:
|
|
|
|
```sh
|
|
git clone git@github.com:ZeusWPI/Advent-of-Code-Aggregator.git
|
|
git submodule init 2022 # just the current year
|
|
git submodule update
|
|
```
|
|
|
|
* nieuwe persoon toevoegen:
|
|
|
|
```sh
|
|
cd 2022
|
|
git submodule add <link zoals in tabel> <naam zoals in tabel>
|
|
git commit -m 'hey guys ik heb een repo toegevoegd'
|
|
```
|
|
|
|
* uw lokale kopie updaten:
|
|
|
|
```sh
|
|
git pull # duh
|
|
git submodule update
|
|
```
|
|
|
|
* van alle submodules de nieuwste versie binnenhalen (zelfs als mensen *force push*en):
|
|
|
|
```sh
|
|
git submodule foreach git fetch origin
|
|
git submodule foreach git reset --hard origin/HEAD > /dev/null 2>&1
|
|
git add * # oh no
|
|
git commit -m 'update submodules'
|
|
```
|
|
|
|
* benchmarks uitvoeren:
|
|
|
|
```sh
|
|
cd 2022
|
|
./complete-benchmark
|
|
```
|