$ git clone -n https://gitee.com/mgb01105731/libserf.git /var/lib/mock/dist-an23.3-build-415882-72844/root/chroot_tmpdir/scmroot/libserf Cloning into '/var/lib/mock/dist-an23.3-build-415882-72844/root/chroot_tmpdir/scmroot/libserf'... $ git fetch origin 21c4752e2213c41bea04b5d5132cd40cfc9ad4c5:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libserf * [new ref] 21c4752e2213c41bea04b5d5132cd40cfc9ad4c5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21c4752 Refer to CentOS Stream libserf-1.3.10-1(tdawson@redhat.com)