$ git clone -n https://gitee.com/mgb01105731/libserf.git /var/lib/mock/dist-an23.2-build-415809-72829/root/chroot_tmpdir/scmroot/libserf Cloning into '/var/lib/mock/dist-an23.2-build-415809-72829/root/chroot_tmpdir/scmroot/libserf'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libserf * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d8b2e1c Refer to CentOS Stream libserf-1.3.10-1(tdawson@redhat.com)