-
Clone the project
git clone --recurse-submodules https://github.com/GabenGar/gabengar.github.io.git gabengar-github-io cd gabengar-github-io git submodule update --init --recursive -
Build pages:
cd todos npx turborepo run prune frontend cd out npm ci npm run build-frontend
The output will be in ./todos/out/apps/frontend/out.
-
Open config at
./.git/config. -
Add user section:
[user] name = <user_name> email = <user_email>
-
Add SSH key invocation on push in the
[core]section:[core] ... sshCommand = ssh -i <ssh_key_path> -F /dev/null
-
Set the SSH push url on the origin remote:
[remote "origin"] ... pushurl = git@github.com:<name>/<repo>.git
-
Set to check submodule on push:
[push] recurseSubmodules = check
-
Open each config in
./.git/modules/**/configand repeat steps 2 to 4 in related submodules.
git submodule update --remoteFetch the latest remotes on all submodules:
git fetch --all --prune --recurse-submodules=yes