$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libxkbfile.git /var/lib/mock/dist-an8.4-build-20368-8910/root/chroot_tmpdir/scmroot/libxkbfile Cloning into '/var/lib/mock/dist-an8.4-build-20368-8910/root/chroot_tmpdir/scmroot/libxkbfile'... $ git reset --hard origin/a8 HEAD is now at c935f01 update to libxkbfile-1.1.0-1.el8.src.rpm