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