$ git clone -n https://gitee.com/src-anolis-os/gsm.git /var/lib/mock/dist-an23-build-210804-61904/root/chroot_tmpdir/scmroot/gsm Cloning into '/var/lib/mock/dist-an23-build-210804-61904/root/chroot_tmpdir/scmroot/gsm'... $ git reset --hard origin/a23 HEAD is now at 84288ae optimize spec file and patch