$ git clone -n https://gitee.com/src-anolis-os/hiredis.git /var/lib/mock/dist-an8-epao-build-420165-72893/root/chroot_tmpdir/scmroot/hiredis Cloning into '/var/lib/mock/dist-an8-epao-build-420165-72893/root/chroot_tmpdir/scmroot/hiredis'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hiredis * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4f1e506 update to hiredis-0.13.3-13.el8.src.rpm