$ git clone -n https://gitee.com/mgb01105731/libnbd_2.git /var/lib/mock/dist-an23.3-build-418912-72878/root/chroot_tmpdir/scmroot/libnbd_2 Cloning into '/var/lib/mock/dist-an23.3-build-418912-72878/root/chroot_tmpdir/scmroot/libnbd_2'... $ git fetch origin fcfc8cb0883765b6db91b62ac9d6402f99ea0dc4:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libnbd_2 * [new ref] fcfc8cb0883765b6db91b62ac9d6402f99ea0dc4 -> 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)