1

Add git user configuration step

This commit is contained in:
Jessie Hildebrandt 2024-04-16 19:30:51 -04:00
parent 2f5ff4c28c
commit 3aacf3a985

View File

@ -564,6 +564,10 @@ if [ ! -d ${PROJECTS_DIR} ]; then
gio set ${PROJECTS_DIR} metadata::custom-icon-name folder-code gio set ${PROJECTS_DIR} metadata::custom-icon-name folder-code
fi fi
# Configure git
git config --global user.name "Jessie Hildebrandt"
git config --global user.email "jessieh@jessieh.net"
# Perform a blobless clone of all public repos at git.tty.dog # Perform a blobless clone of all public repos at git.tty.dog
API_URL="https://git.tty.dog/api/v1/repos/search" API_URL="https://git.tty.dog/api/v1/repos/search"
for CLONE_URL in $(curl -s "${API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do for CLONE_URL in $(curl -s "${API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do