$ git clone -n https://gitee.com/src-anolis-os/perl-String-ShellQuote.git /var/lib/mock/dist-an23-build-238545-62867/root/chroot_tmpdir/scmroot/perl-String-ShellQuote Cloning into '/var/lib/mock/dist-an23-build-238545-62867/root/chroot_tmpdir/scmroot/perl-String-ShellQuote'... $ git reset --hard origin/a23 HEAD is now at b9b72c6 Init package from upstream