- fix git init

This commit is contained in:
Frogg 2026-05-15 17:10:42 +02:00
parent 49102f67ad
commit b6db01de9b
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ gitinit(){
# prepare vars # prepare vars
git_user="${1:-$CONFIG_GIT_USER}" git_user="${1:-$CONFIG_GIT_USER}"
git_email="${2:-$CONFIG_GIT_EMAIL}" git_email="${2:-$CONFIG_GIT_EMAIL}"
repo_name="${3:-$CONFIG_GIT_SERVER}$(basename "$(pwd)").git" repo_name="${3:-$CONFIG_GIT_SERVER}${git_user}/$(basename "$(pwd)").git"
msg_info "Set git user : ${git_user} ${git_email}" msg_info "Set git user : ${git_user} ${git_email}"
git config --global user.name user.name "${git_user}" git config --global user.name user.name "${git_user}"