TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Log with a Wrong Git Username

5 pointsby bellajbadrover 1 year ago
You can log (clone&#x2F;pull) using any login (wrong one) and your key as the password. Nothing nasty here but it&#x27;s good to know you no longer need to write your complex github login.<p>Although in the documentation Github specifies that :<p>```` Once you have a personal access token, you can enter it instead of your password when performing Git operations over HTTPS.<p>For example, to clone a repository on the command line you would enter the following git clone command. You would then be prompted to enter your username and password. When prompted for your password, enter your personal access token instead of a password.<p>$ git clone https:&#x2F;&#x2F;github.com&#x2F;USERNAME&#x2F;REPO.git Username: YOUR_USERNAME Password: YOUR_PERSONAL_ACCESS_TOK ````<p>They should update the doc to become :<p>Username: ANYTHING Password: YOUR_PERSONAL_ACCESS_TOK

no comments

no comments