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