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