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