$ git clone -n https://gitee.com/src-anolis-os/libedit.git /var/lib/mock/dist-an8.6-build-105397-45598/root/chroot_tmpdir/scmroot/libedit Cloning into '/var/lib/mock/dist-an8.6-build-105397-45598/root/chroot_tmpdir/scmroot/libedit'... $ git reset --hard origin/a8 HEAD is now at 9bea0c1 spec: add doc sub package