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