$ git clone -n https://gitee.com/src-anolis-os/libpaper.git /var/lib/mock/dist-an23.3-build-416818-72867/root/chroot_tmpdir/scmroot/libpaper Cloning into '/var/lib/mock/dist-an23.3-build-416818-72867/root/chroot_tmpdir/scmroot/libpaper'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libpaper * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4ba1636 Refer to CentOS Stream libpaper-2.1.1-1(tdawson@redhat.com)