$ git clone -n https://gitee.com/src-anolis-os/perl-TimeDate.git /var/lib/mock/dist-an23-build-251395-63416/root/chroot_tmpdir/scmroot/perl-TimeDate Cloning into '/var/lib/mock/dist-an23-build-251395-63416/root/chroot_tmpdir/scmroot/perl-TimeDate'... $ git reset --hard origin/a23 HEAD is now at 7a888f3 change spec file format