Gitlab creates a new project, which needs to clone to local and execute
git clone http://xxx.com/console/project-name.git
The results showed that: 1
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
According to the plan on the Internet, most of them are modified to
git clone http://[email protected]/console/project-name.git
I tried. It didn’t work
Then I see another way, which is sourcetree, but although it can be downloaded, it can’t be pushed
When git push is executed, the above annoying information is still prompted
After several rounds of research, it is found that the previous search of their situation should have no password, and I believe many of the company’s projects need the account password to clone, so it can be changed to the following:
git clone http://username:[email protected]/console/project-name.git
This is the perfect solution
Hope to help people who read this article
Similar Posts:
- [Solved] Git Clone Error: The requested URL returned error: 403 error
- [Solved] sourceTree pull code error: remote: HTTP Basic: Access denied
- [Solved] tortoisegit error: git did not exit cleanly (exit code 128)
- Git: How to Solve Authentication failed
- [Solved] Gitlab can clone via SSH, cannot clone via HTTP, and cannot pipeline. Prompt port 80: connection rejected
- [Solved] Git Error: could not read Username for ‘https://github.com’: terminal prompts disabled
- Linux: How to Solve Git clone error
- [Solved] Git Clone Error: Please make sure you have the correct access rights and the repository exists.
- Gitlab-error: RPC failed; result=22, HTTP code = 500 settlement
- Git Push Github ERROR: Permission to xxx.git denied to user