$ git clone -n https://gitee.com/src-anolis-os/perl-Env.git /var/lib/mock/dist-an23-build-252300-63477/root/chroot_tmpdir/scmroot/perl-Env Cloning into '/var/lib/mock/dist-an23-build-252300-63477/root/chroot_tmpdir/scmroot/perl-Env'... $ git reset --hard origin/a23 HEAD is now at 84ee0f5 optimise spec file