OcttKB/SetupGitProfile.sh

6 lines
219 B
Bash
Raw Normal View History

2023-02-28 12:07:24 +01:00
#!/bin/sh
git config --global user.email "$GitUserEmail"
git config --global user.name "$GitUserName"
git config --global credential.helper store
echo "https://$GitUserName:$GitPassword@gitlab.com" > ~/.git-credentials