fix git getting set with improper settings

This commit is contained in:
Tyler Kelley 2025-02-17 05:19:14 -06:00
parent b9e7588e4b
commit b2f5b728af

View File

@ -78,6 +78,8 @@ installusername=$(echo $USER)
git config --global user.name "$installusername"
git config --global user.email "$installusername@gmail.com"
git add .
git config --global --unset-all user.name
git config --global --unset-all user.email
sed -i "/^\s*host[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$hostName\"/" ./flake.nix
sed -i "/^\s*profile[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$profile\"/" ./flake.nix