$ git clone -n https://gitee.com/src-anolis-os/ed.git /var/lib/mock/dist-an23-build-195616-60889/root/chroot_tmpdir/scmroot/ed Cloning into '/var/lib/mock/dist-an23-build-195616-60889/root/chroot_tmpdir/scmroot/ed'... $ git reset --hard origin/a23 HEAD is now at b20f510 add doc package and update spec