$ git clone -n https://gitee.com/src-opencloudos-rpms/xml-commons-apis /var/lib/mock/module-javapackages-tools-201801-8050020220618091538-cb5037f2-build-7255-1124/root/chroot_tmpdir/scmroot/xml-commons-apis Cloning into '/var/lib/mock/module-javapackages-tools-201801-8050020220618091538-cb5037f2-build-7255-1124/root/chroot_tmpdir/scmroot/xml-commons-apis'... $ git reset --hard 29c2e48891d991cb356268851d649df245c1663d HEAD is now at 29c2e48 import xml-commons-apis-1.4.01-25.module_oc8.4.0+595+e59c9af2