$ git clone -n https://gitee.com/src-anolis-os/json-glib.git /var/lib/mock/dist-an23-build-129231-46217/root/chroot_tmpdir/scmroot/json-glib Cloning into '/var/lib/mock/dist-an23-build-129231-46217/root/chroot_tmpdir/scmroot/json-glib'... $ git reset --hard origin/a23 HEAD is now at 16b6d6c add doc package