Tag Archives: sourceTree pull code error

[Solved] sourceTree pull code error: remote: HTTP Basic: Access denied

SourceTree pull code error:

remote: HTTP Basic: Access denied

 

Error: Remote HTTP Basic: Access denied

 

Fatal: “http://gitlab.baocloud.cn/OYGYPBASIC/obei-web-ec.git/” authentication failed

The analysis from the error prompt should be a permission problem, because the previous ones have always been used well, and it suddenly happened today.

First copy the clone address of your project: http://gitlab.baocloud.cn/xxx/yyyy.git

 

 

 

Then spell the address into the following format:

Solution: http://username:[email protected]/xxx/yyyy.git

2. Clone the spelled address in Sourcetree

 

as the picture shows:

 

Clone the project again, so that you can submit it normally and pull the code