29 lines
882 B
Markdown
29 lines
882 B
Markdown
|
# websites @ tacowolf dot net
|
||
|
|
||
|
aka everything [taco](https://mestizo.monster) and frends work on
|
||
|
|
||
|
## cloning all submodules
|
||
|
|
||
|
```
|
||
|
git clone --recurse-submodules --remote-submodules -j8 https://git.tacowolf.net/TacoWolf/websites
|
||
|
```
|
||
|
|
||
|
`--recurse-submodules` will automatically initialize and update each submodule in the repository to their last recorded SHA in this repo.
|
||
|
`--remote-submodules` will automatically fetch the latest versions of that submodule from that repo if there are untracked changes.
|
||
|
`-j8` downloads more files in parallel.
|
||
|
|
||
|
then you can check out the source code for each project!
|
||
|
|
||
|
## pushing over ssh
|
||
|
|
||
|
on newer git versions, you can use `--add --push` to set a url to push in each repository, for example:
|
||
|
|
||
|
```
|
||
|
cd bird.tacowolf.net
|
||
|
git remote set-url --add --push origin forgejo@git.tacowolf.net:TacoWolf/bird.tacowolf.net.git
|
||
|
```
|
||
|
|
||
|
for `bird.tacowolf.net`.
|
||
|
|
||
|
|