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