I am writing a bash script that needs to perform some git actions. I'm working on windows using MinGW.
running bash test.sh
with test.sh having the content:
echo "git config --global user.name -> $(git config --global user.name)"
This prints:
git config --global user.name ->
Whereas going on powershell and typing git config --global user.name prints my_actual_user_name.
I'd like in this case to user my user settings on git, which would include having access to my ssh keys, which it is not doing. How can I achieve this?