$ git clone -n https://gitee.com/src-anolis-os/perl-local-lib.git /var/lib/mock/dist-an23-build-252167-63467/root/chroot_tmpdir/scmroot/perl-local-lib Cloning into '/var/lib/mock/dist-an23-build-252167-63467/root/chroot_tmpdir/scmroot/perl-local-lib'... $ git reset --hard origin/a23 HEAD is now at 689f8c5 change spec file format