$ git clone -n https://gitee.com/src-anolis-os/mallard-rng.git /var/lib/mock/dist-an8.7-build-180424-59299/root/chroot_tmpdir/scmroot/mallard-rng Cloning into '/var/lib/mock/dist-an8.7-build-180424-59299/root/chroot_tmpdir/scmroot/mallard-rng'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mallard-rng * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fd8cac9 update to mallard-rng-1.1.0-7.el9.src.rpm