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