Browse Source

Updated app_server setup script

master
Steffan JJ 1 year ago
parent
commit
6e7147e8e5
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      trias/Server/trias_appserver_script.sh

+ 6
- 6
trias/Server/trias_appserver_script.sh View File

#STORE GIT CREDENTIALS IN CACHE #STORE GIT CREDENTIALS IN CACHE
git config --global credential.helper store git config --global credential.helper store
# git config --global credential.helper 'store --file ~/.git-credentials' # git config --global credential.helper 'store --file ~/.git-credentials'
echo "Enter git username: "
read gitUser
git config --global user.name '${gitUser}'
# echo "Enter git username: "
# read gitUser
# git config --global user.name '${gitUser}'
# echo "username=$gitUser" >> ~/.git-credentials # echo "username=$gitUser" >> ~/.git-credentials
echo "Enter git password: "
read gitPassword
git config --global user.password '${gitPassword}'
# echo "Enter git password: "
# read gitPassword
# git config --global user.password '${gitPassword}'
# echo "password=$gitPassword" >> ~/.git-credentials # echo "password=$gitPassword" >> ~/.git-credentials
# chmod 0600 ~/.git-credentials # chmod 0600 ~/.git-credentials



Loading…
Cancel
Save