I used my colleague’s gitlab account to check the code locally, but now I want to switch to my own account for operation. No user record was found in the project root directory or global git configuration, please solve it
过去多啦不再A梦2017-05-02 09:24:48
Look at the private key file in the .ssh directory.
http login, old password can only be used for long-term storage.
Set to remember password (default 15 minutes):
git config --global credential.helper cache
If you want to set the time yourself, you can do this:
git config credential.helper 'cache --timeout=3600'
The setting will expire after one hour
Long term storage of passwords:
git config --global credential.helper store