$ git clone -n https://gitee.com/lxpzlm/libcap-ng.git /var/lib/mock/dist-an8_8-el9-build-168520-58854/root/chroot_tmpdir/scmroot/libcap-ng Cloning into '/var/lib/mock/dist-an8_8-el9-build-168520-58854/root/chroot_tmpdir/scmroot/libcap-ng'... $ git reset --hard origin/a8 HEAD is now at f5ae07f update to libcap-ng-0.8.2-7.el9.src.rpm