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