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