$ git clone -n https://gitee.com/src-anolis-os/openssh.git /var/lib/mock/dist-an23-build-141769-53403/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-an23-build-141769-53403/root/chroot_tmpdir/scmroot/openssh'... $ git reset --hard origin/a23 HEAD is now at 466e68d remove duplicated define of anolis_release