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