$ git clone -n https://git.cclinux.org/stage/rpms/osgi-core /var/lib/mock/module-javapackages-tools-201801-8030020210520114549-30b713e6-build-8676-2199/root/chroot_tmpdir/scmroot/osgi-core Cloning into '/var/lib/mock/module-javapackages-tools-201801-8030020210520114549-30b713e6-build-8676-2199/root/chroot_tmpdir/scmroot/osgi-core'... warning: redirecting to https://git.cclinux.org/stage/rpms/osgi-core.git/ $ git reset --hard 124851626c1d214689de9bbcdc1764ce73081602 HEAD is now at 1248516 import osgi-core-6.0.0-6.module+el8+2598+06babf2e