$ git clone -n https://gitee.com/src-anolis-dde/pugixml.git /var/lib/mock/dist-an23-dde-build-314382-67525/root/chroot_tmpdir/scmroot/pugixml Cloning into '/var/lib/mock/dist-an23-dde-build-314382-67525/root/chroot_tmpdir/scmroot/pugixml'... $ git reset --hard origin/a23 HEAD is now at a7bb5f7 Specification spec file