$ git clone -n https://gitee.com/src-anolis-os/perl-DB_File.git /var/lib/mock/dist-an23-build-238434-62860/root/chroot_tmpdir/scmroot/perl-DB_File Cloning into '/var/lib/mock/dist-an23-build-238434-62860/root/chroot_tmpdir/scmroot/perl-DB_File'... $ git reset --hard origin/a23 HEAD is now at 99a724e Init package from upstream