$ git clone -n https://gitee.com/src-anolis-os/alsa-lib.git /var/lib/mock/dist-an23-build-251407-63416/root/chroot_tmpdir/scmroot/alsa-lib Cloning into '/var/lib/mock/dist-an23-build-251407-63416/root/chroot_tmpdir/scmroot/alsa-lib'... $ git reset --hard origin/a23 HEAD is now at cf6464d optimise spec file