$ git clone -n https://gitee.com/src-opencloudos-rpms/java-17-openjdk.git /var/lib/mock/dist-oc8-build-34850-11248/root/chroot_tmpdir/scmroot/java-17-openjdk Cloning into '/var/lib/mock/dist-oc8-build-34850-11248/root/chroot_tmpdir/scmroot/java-17-openjdk'... $ git reset --hard 65cede27653ddca1d548e4a2c34ff214727fbb33 HEAD is now at 65cede2 import java-17-openjdk-17.0.6.0.10-3.oc8