gitlab新建了项目,要clone到本地,执行
git clone http://xxx.com/console/project-name.git
结果提示:
Cloning into 'project-name'... remote: The project you were looking for could not be found. fatal: repository 'https://xxx.com/console/project-name.git/' not found
按照网上的方案大多数都是让修改为
git clone http://username@xxx.com/console/project-name.git
我试了,完全无效。
然后又看到一个方式,就是sourceTree,但是这样虽然可以下载了,但是不能推啊!!
当执行 git push 时依然提示上面那个烦人的信息。
经过几轮研究发现之前查找的他们的情况应该都是没有密码的,而我相信公司的项目很多都是需要账户密码才能clone的吧,于是改为以下这样就可以了:
git clone http://username:password@xxx.com/console/project-name.git
这样就完美解决了。
希望能给看到这篇文章的人以帮助。
文章引自:https://www.cnblogs.com/syll/p/12144802.html
相关推荐
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的办法 今天Git push的时候 fatal:remote error: You can't push to git://github.com/username/*.git Use git@github....
《remote: office not required》这本书正是围绕这一主题展开,提供了关于如何成功进行远程工作的深刻见解和实用建议。 #### 一、远程工作的重要性和必要性 在当今全球化的背景下,企业和组织面临着前所未有的挑战...
A project model for the FreeBSD Project Niklas Saers Copyright © 2002-2005 Niklas Saers [ Split HTML / Single HTML ] Table of Contents Foreword 1 Overview 2 Definitions 2.1. Activity 2.2. Process ...
Missing requirement: C/C++ Remote Launch 6.0.0.201102110609 (org.eclipse.cdt.launch.remote.feature.group 6.0.0.201102110609) requires 'xxxxxxx' but it could not be found 其中“xxxxxxx”表示缺少的包,...
解决 /root/.Xauthority does not exist" 涉及到的是一个常见的 Linux 系统问题,通常在使用图形界面(如 X Window System)或通过 SSH 远程连接时遇到。这个问题指出,系统找不到 `/root/.Xauthority` 文件,这是...
DLL: JTAG: When only having 1 TAP in the JTAG chain and its matches the one for the configured CPU core but the TAP-ID was unknown, connect did not work. Fixed. DLL: Linux: Delayed / slowed execution ...
7)....Fixed: Generic names with "," could not be decoded in Viewer 8)....Fixed: Updated Windows 10 detection for latest builds of Windows 10 9)....Fixed: Sleep and hybernation no longer trigger false-...
Whether you抳e used Diskeeper before or not, you may already be familiar with some of its features, but Diskeeper 2008 adds refinements to these features, and a number of other core enhancements. ...
USB.for.Remote.Desktop].USB.for.Remote.Desktop.v3.1.3 是一个可以共享在winddows系统上共享USB端口上的设备给其他windows系统的电脑用的工具软件,可以共享U盘,移动硬盘,U盾等等!
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致...///Users/dianji/project/ccpay.h5/.git/index.lock是你的index.lock的目录, 通常直接复制报错信息里边的地址比较靠谱. 那这个index.lock有什么作用呢? 官
You can connect to remote PCs or applications and be productive as if these resources were running locally. Version 10.2.2 (1268) What's new in this update: Thanks for all the feedback! We have some...
在使用Git进行版本控制时,有时会遇到"fatal: remote error: You can't push to git://github.com/username/*.git"这样的错误提示。这通常意味着您试图向GitHub推送代码,但因为使用的协议不支持写入操作,导致推送...
本文将深入探讨这个问题及其解决方案。 首先,`ssh-copy-id`通常与OpenSSH套件一起提供。在较新的MacOS版本中,如Big Sur或Catalina,OpenSSH可能已经预装,但某些功能可能不完整。若在终端尝试运行`ssh-copy-id`时...
If you were to simply unzip an apk like so, you would be left with files such as classes.dex and resources.arsc. $ unzip testapp.apk Archive: testapp.apk inflating: AndroidManifest.xml inflating: ...
If NLA is not enforced by the server, you will now be routed to the login screen if your password has expired. The credential prompting UI and flows have been overhauled. Fixed performance issues that...
"Debian8.1下systemd管理tftpd-hpa服务器开机无法启动问题的解决办法" 本文将详细介绍 Debian 8.1 下 systemd 管理 tftpd-hpa 服务器开机无法启动问题的解决办法。该问题是 Debian 8.1 发布后,默认已经开始使用 ...
主要介绍了解决Unable to access 'https://gitee.com/自己的项目/': Could not resolve host: gitee.com问题,需要的朋友可以参考下
If you're one of the many who have decided to build your own Arduino-powered devices for IoT applications, you've probably wished you could find a single resource--a guidebook for the eager-to-learn ...