$ git clone -n https://gitee.com/src-anolis-os/twolame.git /var/lib/mock/dist-an23-build-189145-60731/root/chroot_tmpdir/scmroot/twolame Cloning into '/var/lib/mock/dist-an23-build-189145-60731/root/chroot_tmpdir/scmroot/twolame'... $ git reset --hard 4e5fb5d2df000f86f61f25fed5711f7b602ad1da HEAD is now at 4e5fb5d spec: add doc sub package