Make your Git client remember your username and password

Wed, Mar 14, 2012
When you clone, push and pull any file to your repository, your Git client will prompt you for your username and password.
git clone http://john@10.0.2.15/companyproject.git

The feature “remember my credentials” might not be implemented by your git client.
The current workaround is to include your username and/or password in the url.

If your repository is located at :
You can include your username in the url :
git clone http://john@10.0.2.15/companyproject.git

The password can also be included in the url. The password will be stored in plain text on your computer.
git clone http://john:ex56shs@10.0.2.15/companyproject.git