- fix git init
This commit is contained in:
parent
2782da4ece
commit
166ec11114
|
|
@ -31,8 +31,8 @@ gitinit(){
|
||||||
repo_name="${3:-$CONFIG_GIT_SERVER}${git_user}/$(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 --replace-all user.name "${git_user}"
|
||||||
git config --global user.email user.email "${git_email}"
|
git config --global --replace-all user.email "${git_email}"
|
||||||
|
|
||||||
msg_info "Init git repository"
|
msg_info "Init git repository"
|
||||||
git init
|
git init
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue