$ git clone -n https://gitee.com/src-anolis-os/ksh.git /var/lib/mock/dist-an8_7-build-131227-46334/root/chroot_tmpdir/scmroot/ksh Cloning into '/var/lib/mock/dist-an8_7-build-131227-46334/root/chroot_tmpdir/scmroot/ksh'... $ git reset --hard origin/a8 HEAD is now at a51877d spec: add doc sub package