$ git clone -n https://gitee.com/src-anolis-os/libxklavier.git /var/lib/mock/dist-an23-build-130200-46288/root/chroot_tmpdir/scmroot/libxklavier Cloning into '/var/lib/mock/dist-an23-build-130200-46288/root/chroot_tmpdir/scmroot/libxklavier'... $ git reset --hard origin/a23 HEAD is now at 4be760e add doc package