$ git clone -n https://gitee.com/opencloudos-stream/libcbor.git /var/lib/mock/dist-ocs23-build-35403-1777/root/chroot_tmpdir/scmroot/libcbor Cloning into '/var/lib/mock/dist-ocs23-build-35403-1777/root/chroot_tmpdir/scmroot/libcbor'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libcbor * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b03bc60 !1 update to 0.10.2 Merge pull request !1 from abushwang/master