$ git clone -n https://gitee.com/src-anolis-os/perl-Test2-Plugin-NoWarnings.git /var/lib/mock/dist-an23-build-215918-61987/root/chroot_tmpdir/scmroot/perl-Test2-Plugin-NoWarnings Cloning into '/var/lib/mock/dist-an23-build-215918-61987/root/chroot_tmpdir/scmroot/perl-Test2-Plugin-NoWarnings'... $ git reset --hard origin/a23 HEAD is now at 5557ec4 Import package for anolis 23