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