From f32af462618b95f67e7d2c3af63f3f23b431792e Mon Sep 17 00:00:00 2001 From: kenneth Date: Sun, 14 Sep 2025 14:57:15 +0000 Subject: [PATCH] chore: git cred import username from env var --- scripts/setup-git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-git.sh b/scripts/setup-git.sh index 37110e5..c353871 100755 --- a/scripts/setup-git.sh +++ b/scripts/setup-git.sh @@ -45,7 +45,7 @@ chmod 600 "$CREDENTIAL_FILE" # Add Gitea credentials (adjust URL to match your Gitea instance) # Format: https://username:token@gitea.example.com # Using the token as both username and password is common for API tokens -echo "https://kennethnym:$GITEA_ACCESS_TOKEN@code.nym.sh" >> "$CREDENTIAL_FILE" +echo "https://$GITEA_USERNAME:$GITEA_ACCESS_TOKEN@code.nym.sh" >> "$CREDENTIAL_FILE" # Additional Git configurations for better experience git config --global init.defaultBranch main