Pro Git 2nd Edition 2.1.413You clone a repository with git clone. For example, if you want to clone the Git linkable library called libgit2, you can do so like this: $ git clone https://github.com/libgit2/libgit2 That creates changed, 2 insertions(+) You’ll notice the phrase “fast-forward” in that merge. Because the commit C4 pointed to by the branch hotfix you merged in was directly ahead of the commit C2 you’re on, Git simply the merge command. It performs a three-way merge between the two latest branch snapshots (C3 and C4) and the most recent common ancestor of the two (C2), creating a new snapshot (and commit). Figure 0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 You clone a repository with git clone. For example, if you want to clone the Git linkable library called libgit2, you can do so like this: $ git clone https://github.com/libgit2/libgit2 That creates changed, 2 insertions(+) You’ll notice the phrase “fast-forward” in that merge. Because the commit C4 pointed to by the branch hotfix you merged in was directly ahead of the commit C2 you’re on, Git simply the merge command. It performs a three-way merge between the two latest branch snapshots (C3 and C4) and the most recent common ancestor of the two (C2), creating a new snapshot (and commit). Figure 0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66++ 1 file changed, 2 insertions(+) 在合并的时候,你应该注意到了“快进(fast-forward)”这个词。 由于你想要 合并的分支 hotfix 所指向的提交 C4 是你所在的提交 C2 的直接后继, 因此 Git 会直接将指针向前移动。换句话说,当你试图合并两个分支时, 如果顺着 一个分支走下去能够到达另一个分支,那么 Git 在合并两者的时候, 只会简单 iverged)。 因为,master 分 支所在提交并不是 iss53 分支所在提交的直接祖先,Git 不得不做一些额外的 工作。 出现这种情况的时候,Git 会使用两个分支的末端所指的快照(C4 和 C5)以及这两个分支的公共祖先(C2),做一个简单的三方合并。 图表 24. 一次典型合并中所用到的三个快照 和之前将分支指针向前推进所不同的是,Git 将此次三方合并的结果做了一个 成熟之后再合并, 而不用在乎它们建立的顺序或工作进度。 考虑这样一个例子,你在 master 分支上工作到 C1,这时为了解决一个问题而 新建 iss91 分支,在 iss91 分支上工作到 C4,然而对于那个问题你又有了新 的想法,于是你再新建一个 iss91v2 分支试图用另一种方法解决那个问题,接 着你回到 master 分支工作了一会儿,你又冒出了一个不太确定的想法,你便 在 C100 码力 | 670 页 | 13.59 MB | 1 年前3
Hyperledger Fabric 1.2 Documentationinto the CLI container. Recall that this container has been mounted with the BYFN crypto-config library, giving us access to the MSP material for the two original peer organizations and the Orderer Org for chaincode written in Go If your chaincode requires packages not provided by the Go standard library, you will need to include those packages with your chaincode. There are many tools available [https://github best- practices on things like logging and testing. Note On imported packages: the Go standard library requires that a plugin must include the same version of imported packages as the host application0 码力 | 497 页 | 6.59 MB | 1 年前3
Hyperledger Fabric 1.3 Documentationinto the CLI container. Recall that this container has been mounted with the BYFN crypto-config library, giving us access to the MSP material for the two original peer organizations and the Orderer Org identity, and only this client may be authorized to make updates to the key/value. The client identity library has APIs that chaincode can use to retrieve this submitter information to make such access control for chaincode written in Go If your chaincode requires packages not provided by the Go standard library, you will need to include those packages with your chaincode. There are many tools available [https://github0 码力 | 528 页 | 6.85 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
Fabric currently offers two CFT ordering service implementations. The first is based on the etcd library [https://coreos.com/etcd/] of the Raft protocol [https://raft.github.io/raft.pdf]. The other is him/lib/stub.js#L293]. If golang is used as a chaincode language, the client identity chaincode library [https://github.com/hyperledger/fabric/blob/master/core/chaincode/shim/ext/cid/README.md] can be into the CLI container. Recall that this container has been mounted with the BYFN crypto-config library, giving us access to the MSP material for the two original peer organizations and the Orderer Org0 码力 | 678 页 | 10.02 MB | 1 年前3
Hyperledger Fabric 1.1 DocumentationHyperledger Fabric components and the basic transaction flow. Once comfortable, continue exploring the library for demos, technical specifications, APIs, etc. Note If you have questions not addressed by this into the CLI container. Recall that this container has been mounted with the BYFN crypto-config library, giving us access to the MSP material for the two original peer organizations and the Orderer Org for chaincode written in Go If your chaincode requires packages not provided by the Go standard library, you will need to include those packages with your chaincode. There are many tools available [https://github0 码力 | 422 页 | 4.84 MB | 1 年前3
Celery 3.1 Documentationusing the thread pool. Transports and Backends celery[librabbitmq]: for using the librabbitmq C library. celery[redis]: for using Redis as a message transport or as a result backend. celery[mongodb]: Installation For the Amazon SQS support you have to install the boto [http://pypi.python.org/pypi/boto] library: $ pip install -U boto Configuration You have to specify SQS in the broker URL: BROKER_URL = Installation For IronMQ support, you’ll need the [iron_celery](http://github.com/iron- io/iron_celery) library: $ pip install iron_celery As well as an [Iron.io account](http://www.iron.io). Sign up for free0 码力 | 887 页 | 1.22 MB | 1 年前3
Hyperledger Fabric 1.4.8 DocumentationFabric currently offers two CFT ordering service implementations. The first is based on the etcd library [https://coreos.com/etcd/] of the Raft protocol [https://raft.github.io/raft.pdf]. The other is him/lib/stub.js#L293]. If golang is used as a chaincode language, the client identity chaincode library [https://github.com/hyperledger/fabric/blob/master/core/chaincode/shim/ext/cid/README.md] can be into the CLI container. Recall that this container has been mounted with the BYFN crypto-config library, giving us access to the MSP material for the two original peer organizations and the Orderer Org0 码力 | 699 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4.9 DocumentationFabric currently offers two CFT ordering service implementations. The first is based on the etcd library [https://coreos.com/etcd/] of the Raft protocol [https://raft.github.io/raft.pdf]. The other is him/lib/stub.js#L293]. If golang is used as a chaincode language, the client identity chaincode library [https://github.com/hyperledger/fabric/blob/master/core/chaincode/shim/ext/cid/README.md] can be into the CLI container. Recall that this container has been mounted with the BYFN crypto-config library, giving us access to the MSP material for the two original peer organizations and the Orderer Org0 码力 | 701 页 | 9.02 MB | 1 年前3
共 642 条
- 1
- 2
- 3
- 4
- 5
- 6
- 65













