$ git clone -n https://gitee.com/src-opencloudos-rpms/javamail /var/lib/mock/module-javapackages-tools-201902-8050020220619040035-a78e116a-build-7973-1238/root/chroot_tmpdir/scmroot/javamail Cloning into '/var/lib/mock/module-javapackages-tools-201902-8050020220619040035-a78e116a-build-7973-1238/root/chroot_tmpdir/scmroot/javamail'... $ git reset --hard 5ea59901d69a14c8616ddfe53e9b1c8e43c74844 HEAD is now at 5ea5990 import javamail-1.6.2-2.module_oc8.2.0+363+9996591c