$ git clone -n http://8.131.229.236/anolis-os/xml-commons-apis /var/lib/mock/module-javapackages-tools-201801-8020020210323023349-ff983833-build-10097-1778/root/chroot_tmpdir/scmroot/xml-commons-apis Cloning into '/var/lib/mock/module-javapackages-tools-201801-8020020210323023349-ff983833-build-10097-1778/root/chroot_tmpdir/scmroot/xml-commons-apis'... $ git reset --hard 24dfea6e22e8042e7408d89f9f845e14c630934c HEAD is now at 24dfea6 import xml-commons-apis-1.4.01-25.module+el8+2598+06babf2e