downloaded the fabric samples.时出现错误
The command I used to download the latest fabric samples.
错误是
pathspec 'v2.0.0' did not match any file(s) known to git
我不熟悉git,但我在互联网上进行搜索,但不知道。希望你们能给我帮助。谢谢!!!
hyperledger/fabric/master/scripts/bootstrap.sh
执行hyperledger/fabric/master/scripts/bootstrap.sh
,git checkout v${VERSION}
设置为version
。
如果您在错误消息之前看到消息“克隆超级账本/织物样本”,则此匹配:
2.0.0
这意味着您需要进入该echo "===> Cloning hyperledger/fabric-samples repo and checkout v${VERSION}"
git clone -b master https://github.com/hyperledger/fabric-samples.git && cd fabric-samples && git checkout v${VERSION}
文件夹,并为fabric-samples
部分(git checkout
)选择另一个标签:尚无listed here。