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
光阴似箭催人老,日月如移越少年。
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 cacheIf 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
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