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