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