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