mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-09 18:51:33 +01:00
fix git getting set with improper settings
This commit is contained in:
parent
b9e7588e4b
commit
b2f5b728af
@ -78,6 +78,8 @@ installusername=$(echo $USER)
|
|||||||
git config --global user.name "$installusername"
|
git config --global user.name "$installusername"
|
||||||
git config --global user.email "$installusername@gmail.com"
|
git config --global user.email "$installusername@gmail.com"
|
||||||
git add .
|
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*host[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$hostName\"/" ./flake.nix
|
||||||
sed -i "/^\s*profile[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$profile\"/" ./flake.nix
|
sed -i "/^\s*profile[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$profile\"/" ./flake.nix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user