$ git clone -n https://gitee.com/src-anolis-os/patch.git /var/lib/mock/dist-an23-build-251774-63442/root/chroot_tmpdir/scmroot/patch Cloning into '/var/lib/mock/dist-an23-build-251774-63442/root/chroot_tmpdir/scmroot/patch'... $ git reset --hard origin/a23 HEAD is now at 9247a50 Update the spec