$ git clone -n https://gitee.com/opencloudos-stream/kfloppy.git /var/lib/mock/dist-oc9-epol-build-105282-66556/root/chroot_tmpdir/scmroot/kfloppy Cloning into '/var/lib/mock/dist-oc9-epol-build-105282-66556/root/chroot_tmpdir/scmroot/kfloppy'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kfloppy * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 15fec4a update