$ git clone -n https://gitee.com/src-anolis-os/perl-Package-Generator.git /var/lib/mock/dist-an23-build-84903-42679/root/chroot_tmpdir/scmroot/perl-Package-Generator Cloning into '/var/lib/mock/dist-an23-build-84903-42679/root/chroot_tmpdir/scmroot/perl-Package-Generator'... $ git reset --hard origin/a23 HEAD is now at 8bb5998 Init upstream perl-Package-Generator for anolis os 23