$ git clone -n https://gitee.com/opencloudos-stream/rust-test-case.git /var/lib/mock/dist-oc9-epol-build-99159-60395/root/chroot_tmpdir/scmroot/rust-test-case Cloning into '/var/lib/mock/dist-oc9-epol-build-99159-60395/root/chroot_tmpdir/scmroot/rust-test-case'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rust-test-case * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 366027e update