简体   繁体   中英

warning: templates not found /share/git-core/templates | fatal: Unable to find remote helper for 'https'

I'm getting the following messages while trying to clone a github repo:

git clone https://github.com/twbs/bootstrap.git
Cloning into 'test'...
warning: templates not found /share/git-core/templates
fatal: Unable to find remote helper for 'https'
  • windows 8.1
  • git version 1.8.5.2.msysgit.0
  • in my PATH: C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\bin
  • http://windows.github.com/ is also installed on my system (cloning with it is working)

Any idea ?

I found the source of the problem. It was cmder (the full version which include msysgit) which somehow was in conflict with my already installed msysgit. So removing cmder of my computer fixed the problem. If you are using the "mini" version it should work though. If interested, I opened an issue https://github.com/bliker/cmder/issues/144

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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