TIL how to store git credentials for different HTTPS hosts π»
When accessing different git repo hosts (GitHub, GitLab etc.) via HTTPS it’s necessary to enter your credentials. Fortunately, git offers a convenient way to automate this process by securely storing your credentials. First, I needed to enable the credential helper: > git config credential.helper store Next up, I cloned a remote repository via HTTPS. git asked for the personal GitHub access token I previously generated (on GitHub under Settings β Developer settings β Personal access tokens):