authentication - 如何在 Sourcetree 中与 Github 建立基本连接

标签 authentication github passwords connect atlassian-sourcetree

当我尝试从 SourceTree 中的 Github 克隆一个 repo 时,它一直告诉我 repo URL 无效,当我直接从 repo 的 Github 页面复制/粘贴它时。

我正在使用 HTTPS 并尝试在 SourceTree 中建立基本连接

Github 连接尝试:

Github connection attempt

我确定我正确输入了我的用户名和 github 密码,但它说它无法连接?

我希望我的 Github 用户名和密码能够使连接正常工作,但似乎没有。

最佳答案

所以问题是我给了它我实际的 Github 帐户密码,它正在寻找的是为我的帐户创建的个人访问 token 。

为此,我转到了我的 github 帐户页面设置 > 开发人员设置 > 个人访问 token 并创建了一个新 token 。在 SourceTree 帐户连接面板的“密码”部分使用该 token ,我能够连接!

关于authentication - 如何在 Sourcetree 中与 Github 建立基本连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57013397/

相关文章:

node.js - 当我尝试从 Node JS 使用模块 nodemailer 发送邮件时,出现错误 "{ Error: Invalid login: 535-5.7.8 Username and Password not accepted."

Android:使用 NXP MiFare Ultralight C 进行身份验证

javascript - 我的 Greasemonkey 脚本在我的 PC 之外是否可见?

docker - 有没有办法使用 github 操作插件 docker/build-push-action@v1 设置 docker 构建的路径

javascript - 轻量级 zxcvbn 替代方案?

asp.net - SQL Server 中的哈希密码 (asp.net)

apache - apache tomcat 7 角色名中的无效字符

java - 安卓:自动注销

Github SSH 访问 : Permission denied (publickey)

来自远程主服务器的 Git Rebase