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