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