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