$ git clone -n https://gitee.com/src-anolis-os/gawk.git /var/lib/mock/dist-an23-build-147023-57727/root/chroot_tmpdir/scmroot/gawk Cloning into '/var/lib/mock/dist-an23-build-147023-57727/root/chroot_tmpdir/scmroot/gawk'... $ git reset --hard origin/a23 HEAD is now at 169f88f optimise spec file