我一直在使用Github上一小会儿,我一直罚款git add,git commit以及git push到目前为止,没有任何问题.突然间我有一个错误说:
致命:身份验证失败
在终端我克隆了一个存储库,处理了一个文件然后我用来git add将文件添加到提交日志中,当我这样做时git commit,它运行正常.最后,git push要求输入用户名和密码.我正确地把它们放进去,每次我这样做,它都说同样的错误.
有谁知道这个问题的原因是什么以及我如何解决它?
内容.git/config是:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = http://www.github.com/######/Random-Python-Tests
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
name = #####
email = ############
Run Code Online (Sandbox Code Playgroud) 我正在使用BitBucket和Xcode以及Git进行版本控制,最近我更改了所有密码(感谢Adobe!).
不出所料,我不再能够在BitBucket(Authentication failed for 'https://______.git')上将我的本地提交推送到我的存储库,但我忘记了如何更新我的iMac上的缓存密码.不知怎的,我一直无法在Google或Stack Overflow上找到它,虽然在我看来它应该相当简单......
问 - 我安装了git来获取最新版本的Angular.当我试着打电话
git clone https://github.com/angular/angular-phonecat.git
Run Code Online (Sandbox Code Playgroud)
我无法连接到github 443错误
我甚至试过了
git clone git://github.com/angular/angular-phonecat.git
Run Code Online (Sandbox Code Playgroud)
这使我无法连接没有错误消息.
我在公司防火墙后面.当我去control panel->Internet Options -> connections -> lan setting.IT 时,我不能看到我的代理详细信息.我不会与我共享代理信息.我不知道该怎么办 ??
我终于设法做到了.我将更新我所采取的程序,以便编译我为使其工作而执行的所有步骤
出于安全原因,我最近更改了我的Bitbucket密码.但是,IntelliJ没有将我的存储库更新为新的凭据,因此它阻止我将任何东西拉/推送到我的存储库.我没有使用任何插件,只是在IDE中集成的VCS操作.
每次拉/推,都弹出:
致命:' https:// momothereal:xxxxxxxxxxxx@bitbucket.org/team/repo.git/认证失败
其中xxxxxxxxxxxx是我的旧密码.我想用正确的密码更改这个远程地址会修复它,虽然我找不到在哪里这样做.
我在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)
怎么解决?
我正在尝试从我的 Gitlab 帐户克隆一个空存储库。我只需使用我的 Gitlab 存储库页面上显示的地址SSH:
git@gitlab.xxx.com:USERNAME/project-name.git
Run Code Online (Sandbox Code Playgroud)
然后只需在空文件夹中尝试此操作,但它一直告诉我权限被拒绝,要求重试:
git clone git@gitlab.xxx.com:USERNAME/project-name.git
Cloning into 'project-name'...
git@gitlab.xxx.com's password:
Permission denied, please try again.
git@gitlab.xxx.com's password:
Run Code Online (Sandbox Code Playgroud)
当我选择https克隆地址时,出现以下消息:
remote: HTTP Basic: Access denied
fatal: Authentication failed for ....
Run Code Online (Sandbox Code Playgroud)
我能够登录Gitlab使用该密码登录主页,所以我不知道到底出了什么问题。
怎么了?如何修复它?
当我运行:git push,存在这样的错误:
remote: Access denied
fatal: unable to access 'https://gitlab.com/myname/mysystem.git/': The requested URL returned error: 403
Run Code Online (Sandbox Code Playgroud)
有没有人可以帮助我?
我是 Gitlab Pipelines 的新手,想为我的一个 Python 项目设置一个。我将 docker GitLab-runner 容器与此配置文件一起使用:
version: '3'
services:
runner:
container_name: runner
image: gitlab/gitlab-runner:latest
restart: unless-stopped
environment:
- TZ=Europe/Berlin
volumes:
- ./data:/etc/gitlab-runner/
- /var/run/docker.sock:/var/run/docker.sock
Run Code Online (Sandbox Code Playgroud)
每当执行管道时,我都会收到以下错误消息:
Running with GitLab-runner 14.10.1 (f761588f)
on docker xxxxxxx
Preparing the "docker" executor
Using Docker executor with image python:latest ...
Pulling docker image python:latest ...
Using docker image sha256:8dec8e39f2eca1ee1f1b668619023da929039a39983de4433d42d25a7b79267c for python:latest with digest python@sha256:567018293e51a89db96ce4c9679fdefc89b3d17a9fe9e94c0091b04ac5bb4e89 ...
Preparing environment
Running on runner-xxxxxxxxx-project-38-concurrent-0 via xxxxxxxx...
Getting source from Git repository
Fetching changes with git depth set …Run Code Online (Sandbox Code Playgroud) 我是 Git 的新手(2 天前刚开始)。我正在尝试创建一个项目来练习我从这里学到的基本命令。
到目前为止,我在哪里:
README.md在项目中添加了一个。develop。[成功]在我的本地文件夹中C:\gitprojects,设置 globaluser.name并user.email使用以下命令:
git config --global user.name <my user name>git config --global user.email <my-email>[成功]C:\gitprojects使用命令将项目克隆到我的本地文件夹中git clone https://flamedenise19@gitlab.com/flamedenise19/speedtyping.git
git checkout -b "develop"。test.txt在本地根文件夹手动添加一个新文件用于测试推送。git commit -m "adds test.txt"git push origin develop现在,我被困在这个push部分。输入后git push origin …
我输入了错误的ID(我的错误),并且我的计算机的IP被永久禁止。我想取消禁止我的IP,以便可以将git clone克隆到所需的git存储库。当我尝试git克隆我的git存储库时,它说
remote: HTTP Basic: Access denied
fatal: Authentication failed for "~~my repository"
如何重新访问git存储库?或者我该如何重设禁令状态?我认为只输入一次错误的ID并被永久禁止是有点苛刻的。
安装我的Git存储库(带有GitLab的GitKraken)时,输入了错误的密码。因此,Git返回此错误:
"remote: HTTP Basic: Access denied
fatal: Authentication failed for'https://gitlab.com/mygitproject/'"
Run Code Online (Sandbox Code Playgroud)
它不提供重新输入密码的选项。所以我被卡住了...
自从 TortoiseGit 从 2.6.0.0 更新到 2.7.0.0 以来,我无法再通过使用 TortoiseGit 访问我的 GitLab。我设法在 2.6 上获取、拉取和推送,但截至今天,使用 2.7 这不起作用。我有两台设置完全相同的计算机,一台仍在 2.6 上,另一台在 2.7 上。2.7 版本为我提供了错误
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/company/NL/projects/name.git/'
Run Code Online (Sandbox Code Playgroud)
这与此处提到的错误完全相同。但是,我也尝试了那里显示的所有选项,但没有一个起作用。我不断收到“适用于 Windows 的 Git 凭据管理器”弹出窗口,我在其中提供了用于登录 GitLab 并在另一台计算机上工作的用户名和密码,但我仍然遇到身份验证失败。使用 wincred 也不起作用。
看着正在工作的计算机,我确实git:https://gitlab.com在 Windows 凭据管理器的“通用凭据”类别中看到了一个凭据。与此类似的凭据不会出现在“出现故障”的计算机上。在那里手动添加我的凭据会阻止 Windows 的 Git 凭据管理器出现,但是,仍然会导致访问被拒绝错误。
其他可能有帮助的项目:
git config credential.helper 设置为“经理”当然,我的关键问题仍然存在:如何通过 git 再次访问我的远程存储库?
昨天我在编码,当我提交到一个 repo 时,我不能这样做,因为 gitlab 给我发送了两条消息。
此消息出现在我尝试提交的那一刻
在我插入“git pull”之后
“git push”
远程:HTTP 基本:访问被拒绝致命:身份验证失败
请帮帮我!