TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Log with a Wrong Git Username

5 点作者 bellajbadr超过 1 年前
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

暂无评论

暂无评论