In this post I’ll show you how you can clone a Git repository using a Personal Access Token instead of a regular password.
Personal Access Tokens are useful in a variety of situations. I recently opted to use an access token on a work laptop rather than using my ‘god mode’ credentials. That way, if I needed to hand the laptop back to my employer I could easily revoke the access.
Enough talk … lets get to it!
Working in corporate environment can bring it’s own set of challenges when setting up tooling. A typical corporate environment will usually contain a Proxy server setup.
If you have encountered the below errors while using the built-in GIT integration with Visual Studio 2019. In this post I’ll show you how to fix these issues.
Failed to connect to XXXXX.com port 443: Connection refused
Git failed with a fatal error.
unable to access XXXX
Proxy CONNECT aborted
407: Proxy Authentication Required