git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin
fatal: protocol error: bad line length character: git@
Error reported when using sourceTree to associate projects
Reason for error: I first clone the project from the remote warehouse to the local, then open sourceTree and enter this page through the plus button
Click add, browse the local project folder, click Add
and then report this error when pulling for the first time.
After Baidu found that it was not suitable for me, such as deleting the original certificate or adding a new verification, I tried a lot and it didn’t work.
Then I found out Click on the remote, unable to jump to the remote warehouse
This error will be reported
because my sourceTree has managed several projects, and there is no problem in pushing, pulling, and going to remote warehouses
I began to wonder if sourceTee is not associated with the remote warehouse
I deleted the locally cloned project and created a new folder, such as vue_project
On the sourceTree page, select clone, clone directly from the remote warehouse to the newly created folder
, and then pull, push, jump to the remote warehouse, etc.
Note: When selecting the address of the remote warehouse, there are ssh and http. You need to choose http.
If you choose ssh, it will prompt that it is an invalid source path
. Choose http to clone successfully.