$ git clone -n https://gitee.com/xzyang-anolis/tinyxml2.git /var/lib/mock/dist-an23-dde-build-303350-66040/root/chroot_tmpdir/scmroot/tinyxml2 Cloning into '/var/lib/mock/dist-an23-dde-build-303350-66040/root/chroot_tmpdir/scmroot/tinyxml2'... $ git reset --hard 7001438a7028886b7cedb45c25ef3c6d297dc824 HEAD is now at 7001438 fix build error on a23