$ git clone -n https://gitee.com/mgb01105731/libxshmfence_2.git /var/lib/mock/dist-an23-build-138925-51771/root/chroot_tmpdir/scmroot/libxshmfence_2 Cloning into '/var/lib/mock/dist-an23-build-138925-51771/root/chroot_tmpdir/scmroot/libxshmfence_2'... $ git reset --hard origin/a23 HEAD is now at ea29874 optimise spec file