使用GitHub项目中的特定提交安装Cordova插件

使用GitHub项目中的特定提交安装Cordova插件,git,cordova,github,ionic-framework,cordova-plugins,Git,Cordova,Github,Ionic Framework,Cordova Plugins,我使用了cordova插件添加https://github.com/photomania/cordova-plugin-camera.git在我的爱奥尼亚项目中添加Cordova插件 现在我需要这个固定版本: 我已经尝试了cordova插件添加https://github.com/photomania/cordova-plugin-camera#cbb3e5011bb04245b421ba6cd9ad456904bf7ef9 但它返回了错误: fatal: reference is not a

我使用了
cordova插件添加https://github.com/photomania/cordova-plugin-camera.git
在我的爱奥尼亚项目中添加Cordova插件

现在我需要这个固定版本:

我已经尝试了
cordova插件添加https://github.com/photomania/cordova-plugin-camera#cbb3e5011bb04245b421ba6cd9ad456904bf7ef9

但它返回了错误:

fatal: reference is not a tree: cbb3e5011bb04245b421ba6cd9ad456904bf7ef9`

如何从GitHub安装正确的版本?

这是正确的方法,由于一些奇怪的原因它失败了。我和你有同样的问题。你解决问题了吗?如果是的话,你能分享你的解决方案吗?非常感谢。