How to configure Git to remember username and password in repository?

So that you don't have to constantly enter your username and password while working with the git repository, you can save this information as follows:

git config credential.helper store
git config "Goran Štimac"
git config ""

Of course, instead of my name and email details you will enter your own details.

You can also use this short command if you clone a repository:

git clone https://<USERNAME>:<PASSWORD>

IMPORTANT these commands save the login information to a file located in the repository directory:


as plain text which means you can easily reveal user data to others so use it wisely!

# Git
How to install Odoo 14 system and set it to work via Nginx proxy?