我在mac OS上不像这篇文章:`git push origin <branchname>`throws error`HTTP Basic:Access denied` 我在GitLab中配置了密码.我在GitLab上创建项目后创建了SSL密钥.
当我将现有文件夹用于新项目时,请按照以下步骤操作:
现有文件夹
我被提示输入我的GitLab用户名和密码.输入密码后,我得到:__CODE__
我目前正在通过HTTPS使用GitHub,并在Windows 7上安装了最新版本的Git(1.9.0)以及Git凭证帮助程序.
在设置我的环境时,我告诉git-credentials永久记住我的用户名和密码.
我最近通过网站更新了我的GitHub密码,现在我无法再推/拉/取等.
我如何在Windows 7上使用git-credentials helper更新密码?
git github change-password windows-7-x64 git-credential-winstore
得到
拒绝允许 OAuth 应用程序在
.github/workflows/cd.yml
没有workflow
范围的情况下创建或更新工作流”
上git push
。如何授予workflow
范围?
我在Windows 10 Pro x64上使用GitLab Community Edition 9.1.3 2e4e522.有了Git客户端.
错误
Cloning into 'project_name'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://my_user_name@example.com/my_user_name/project_name.git/'
Run Code Online (Sandbox Code Playgroud)
怎么解决?
每当我拉/获取或推送时,我在VS 2017团队资源管理器中收到错误.
Git failed with a fatal error.
HttpRequestException encountered.
An error occurred while sending the request.
cannot spawn /C/Program Files/Git/mingw64/libexec/git-core/git-askpass.exe: No error
could not read Password for 'https://<myusername>@bitbucket.org': terminal prompts disabled.
Run Code Online (Sandbox Code Playgroud)
我试图通过指示来设置我的密码:
https://<myusername>:<mypassword>@bitbucket.org
Run Code Online (Sandbox Code Playgroud)
仍然没有修复.但是当我使用SourceTree时,它很好.
我该如何解决这个问题,以便能够再次使用VS Team Explorer进行拉/推?
我使用以下内容:
提前致谢.
之后创建一个标志,你怎么取消设置现有的密码,并使用令牌呢?
我尝试运行osxkeychain 命令, git config --global credential.helper osxkeychain
但它没有改变任何东西。我也尝试取消设置用户密码用 git config --global --unset user.password
,我试图打开钥匙串访问应用程序并删除GitHub的项目,但既不工作。
我想使用 git 和 overleaf 之间的连接(在带有 git bash 的 Windows 10 上)。有一次它有效,但现在我总是出错。
git clone https://git.overleaf.com/number
Cloning into 'number'...
remote: Please sign in using your email address and Overleaf password.
remote:
remote: *Note*: if you sign in to Overleaf using another provider, such
remote: as Google or Twitter, you need to set a password on your Overleaf
remote: account first. Please see https://www.overleaf.com/blog/195 for
remote: more information.
fatal: Authentication failed for 'https://git.overleaf.com/number/'
Run Code Online (Sandbox Code Playgroud)
我通过以下方式设置用户名和密码:
git config --global user.name "mail@domain.com"
git config --global user.email …
Run Code Online (Sandbox Code Playgroud) 最近,我在线更改了我唯一的Github帐户的密码。从那时起,每次我在本地计算机上使用 git 执行任何操作时,它都会不断询问我的用户名和密码。我阅读了如何更新 Git 的密码?和https://help.github.com/articles/updating-your-github-access-credentials/。
Git 不断提示我输入密码和git : osxkeychain credential helper Silently failed to Remember username/password 的问题与我的类似,只是我没有使用 SSH(或者如果 git 确实使用 ssh,我不知道它。我的 .ssh目录不包含任何关于 Github 的内容)。
我的钥匙串应用程序中曾经有一个 github 项目。由于事情不起作用,我选择删除它,现在当我在某些 github 操作中输入我的用户名和密码时,不会自动创建新项目。
尝试git config --global credential.helper osxkeychain
产生以下错误
$ git config --global credential.helper osxkeychain
warning: credential.helper has multiple values
error: cannot overwrite multiple values with a single value
Use a regexp, --add or --replace-all to change credential.helper.
Run Code Online (Sandbox Code Playgroud)
这是输出git config -l
:
git config -l
credential.helper=osxkeychain …
Run Code Online (Sandbox Code Playgroud)