/ mozey.co / blog

remember git credentials

July 1, 2013

On OSX git credentials can be store in the keychain.

git config --global credential.helper osxkeychain

Another method is to store the credentials in the git folder. Beware, the credentials will be stored in plain text.

cd /path/to/repos
git config remote.origin.url https://username:[email protected]/username/repos

Reference