$ git clone -n https://gitee.com/src-anolis-os/wget.git /var/lib/mock/dist-an8-poc-build-99459-45592/root/chroot_tmpdir/scmroot/wget Cloning into '/var/lib/mock/dist-an8-poc-build-99459-45592/root/chroot_tmpdir/scmroot/wget'... $ git reset --hard origin/a8-poc HEAD is now at 0d08725 spec: add doc sub package