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