Generating a token in Git

  1. Login to your Github Account
$ git config --global url."https://${username}:${access_token}@github.com".insteadOf "https://github.com"Eg: git config --global url."https://johndoe:ghp_abc123@github.com".insteadOf "https://github.com"

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prince Pereira

Prince Pereira

Software Engineer II - Microsoft | SDN | Java | Golang | DS & Algo | Microservices | Kubernetes | Docker | gRPC & Protocol Buffer