$ git clone -n https://src.fedoraproject.org/rpms/java-latest-openjdk.git /var/lib/mock/f33-build-388282-62247/root/chroot_tmpdir/scmroot/java-latest-openjdk Cloning into '/var/lib/mock/f33-build-388282-62247/root/chroot_tmpdir/scmroot/java-latest-openjdk'... $ git reset --hard ffd7bb292793eeb0f9e67f7917c6ef618f280b33 HEAD is now at ffd7bb2 Create a copy of java as alt-java with alternatives and man pages