$ git clone -n https://gitee.com/src-anolis-os/libblockdev.git /var/lib/mock/dist-an23-build-141369-53403/root/chroot_tmpdir/scmroot/libblockdev Cloning into '/var/lib/mock/dist-an23-build-141369-53403/root/chroot_tmpdir/scmroot/libblockdev'... $ git reset --hard origin/a23 HEAD is now at 62f89ef add doc package and add api.