$ git clone -n https://gitee.com/src-opencloudos-rpms/hamcrest /var/lib/mock/module-javapackages-tools-201801-8050020220618102520-cb5037f2-build-7376-1126/root/chroot_tmpdir/scmroot/hamcrest Cloning into '/var/lib/mock/module-javapackages-tools-201801-8050020220618102520-cb5037f2-build-7376-1126/root/chroot_tmpdir/scmroot/hamcrest'... $ git reset --hard 157ca10653f8fe67ee3c56902fc9a44415eb925e HEAD is now at 157ca10 import hamcrest-1.3-23.module_oc8.0.0+30+832da3a1