简体   繁体   English

使用Git和SourceTree时出错

[英]Errors using Git and SourceTree

I keep getting this error message when I try to clone a site from Git to SourceTree: 当我尝试将站点从Git克隆到SourceTree时,我不断收到此错误消息:

warning: templates not found C:\\Program Files\\Git\\share\\git-core\\templates 警告:找不到模板C:\\ Program Files \\ Git \\ share \\ git-core \\ templates

error: no such remote ref refs/heads/master. 错误:没有这样的远程ref refs / heads / master。

I have already uninstalled SourceTree once. 我已经卸载了SourceTree一次。 How do I fix this error? 如何解决此错误?

This might be a problem in Sourcetree, have you tried cloning using terminal? 这可能是Sourcetree中的问题,您是否尝试过使用终端进行克隆?

also check here, 也检查一下

https://answers.atlassian.com/questions/269610/sourcetree-git-cloning-warning-templates-not-found https://answers.atlassian.com/questions/269610/sourcetree-git-cloning-warning-templates-not-found

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM