$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-drv-libinput.git /var/lib/mock/dist-an8.7-build-186224-60667/root/chroot_tmpdir/scmroot/xorg-x11-drv-libinput Cloning into '/var/lib/mock/dist-an8.7-build-186224-60667/root/chroot_tmpdir/scmroot/xorg-x11-drv-libinput'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xorg-x11-drv-libinput * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f667059 update to xorg-x11-drv-libinput-1.0.1-3.el9.src.rpm