$ git clone -n https://gitee.com/src-anolis-os/gtk4.git /var/lib/mock/dist-an23-build-243854-63158/root/chroot_tmpdir/scmroot/gtk4 Cloning into '/var/lib/mock/dist-an23-build-243854-63158/root/chroot_tmpdir/scmroot/gtk4'... $ git reset --hard origin/a23 HEAD is now at 8cb1fa4 remove unnecessary BuildRequires