I'm struggling to get git to remember my username/password when doing a git push
to a gitlab repo (I'm assuming the same problem would happen with a Github repo). It's driving me batty to have type in my username/password every time.
When I do git config --global credential.helper osxkeychain
it accepts it with no problems.
But when I do an actual git push
I get --> git: 'credential-osxkeychain' is not a git command. See 'git --help'.
I have a conda environment activated so I can use python 3.6 because of a package compatibility issue. When I do conda list
I see git listed. However when I do a conda search
for osxkeychain I get no results. I installed xcode via xcode-select --install
If I deactivate the conda environment then it works like a charm and must have the password stashed from previously as it doesn't even ask me for any credentials. Just pushes like it knows what it's doing.