$ git clone -n https://gitee.com/src-anolis-os/netlabel_tools.git /var/lib/mock/dist-an8.7-build-128214-46219/root/chroot_tmpdir/scmroot/netlabel_tools Cloning into '/var/lib/mock/dist-an8.7-build-128214-46219/root/chroot_tmpdir/scmroot/netlabel_tools'... $ git reset --hard origin/a8 HEAD is now at 11fdddc spec: add doc sub package