$ git clone -n https://gitee.com/src-anolis-os/libXNVCtrl.git /var/lib/mock/dist-an8-poc-build-102722-45599/root/chroot_tmpdir/scmroot/libXNVCtrl Cloning into '/var/lib/mock/dist-an8-poc-build-102722-45599/root/chroot_tmpdir/scmroot/libXNVCtrl'... $ git reset --hard origin/a8 HEAD is now at 5902242 Add doc sub package