On macOS, you can use
git config --global credential.helper osxkeychain
A username and password prompt will appear on your next Git action (pull, clone, push, etc.).
Eg: If you do git clone: gttps://mfaiz@www.repository.git .
As soon as you press Enter key, you will be prompted for a password.
You can use the updated password here. And, you will be able to access and password also gets updated automatically!
For Windows, it's the same command with a different argument:
git config --global credential.helper wincred
Isn't this simple :)
Cheers.
git config --global credential.helper osxkeychain
A username and password prompt will appear on your next Git action (pull, clone, push, etc.).
Eg: If you do git clone: gttps://mfaiz@www.repository.git .
As soon as you press Enter key, you will be prompted for a password.
You can use the updated password here. And, you will be able to access and password also gets updated automatically!
For Windows, it's the same command with a different argument:
git config --global credential.helper wincred
Isn't this simple :)
Cheers.
No comments:
Post a Comment