git - GitAhead:意外的 HTTP 状态代码:404
问题描述
我在 linux 中从 GitKraken 切换到 GitAhead。我已经配置和工作的存储库有一个 gitlab 来源。
我在 GitAhead 中打开了存储库,每当我尝试获取、拉取或推送时,都会出现以下错误:
Unable to {whatever I'm doing} from 'origin' - unexpected HTTP status code: 404
如果我使用 linux 终端,我可以正常获取、拉取和推送同一个存储库。
我不知道问题是否是 GitAhead 不要求提供凭据。
- 我已经在常规和存储库配置中配置了我的用户名和电子邮件。
- 我尝试添加和删除一个 gitlab 帐户(使用个人访问令牌)
有任何想法吗?
# cat ./.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://gitlab.com/c****c/a****3.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "develop"]
remote = origin
merge = refs/heads/develop
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
name = Jorge
email = j****z@c****c.com
两个月前我在GitAhead 的 github上问过同样的问题,但没有引起注意。
这个问题在我的 Windows 机器上不存在,在队友的 linux 机器上也不存在,所以它一定是配置错误或什么的。这很奇怪,因为在终端中使用 git 命令效果很好
解决方案
推荐阅读
- c# - 为什么 JsonSerializer 给空?
- node.js - FFMPEG 和 Node.js Spawn 不输出任何内容
- r - 在 R data.frame 中查找常量列的名称
- r - 当`Esc`在R中不起作用时如何停止运行函数?
- c# - 使用特定命名空间前缀的所有节点的 XPath 查询
- javascript - 有没有一种简洁的方式来查看网站的 JavaScript?
- java - 使用 java 8 流重构循环
- c# - EF Core并发,实体框架中SQL加法(+=)的等价物是什么?
- android - 在活动页面上显示生物特征身份验证对话框,而不是将其显示为警报对话框
- angular - 使用多个 NG Bootstrap 日期选择器时令人困惑的按钮焦点