$ git clone -n https://gitee.com/opencloudos-stream/libtree-ldd.git /var/lib/mock/dist-oc9-epol-build-92688-59340/root/chroot_tmpdir/scmroot/libtree-ldd Cloning into '/var/lib/mock/dist-oc9-epol-build-92688-59340/root/chroot_tmpdir/scmroot/libtree-ldd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libtree-ldd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8c48487 package init