$ git clone -n https://git.cclinux.org/stage/rpms/xalan-j2 /var/lib/mock/module-javapackages-tools-201801-8060020210611085117-c0229ad2-build-63723-21491/root/chroot_tmpdir/scmroot/xalan-j2 Cloning into '/var/lib/mock/module-javapackages-tools-201801-8060020210611085117-c0229ad2-build-63723-21491/root/chroot_tmpdir/scmroot/xalan-j2'... warning: redirecting to https://git.cclinux.org/stage/rpms/xalan-j2.git/ $ git reset --hard bb5c0b7d160d8284cb9f7667a942304ef851cca1 HEAD is now at bb5c0b7 import xalan-j2-2.7.1-38.module+el8+2598+06babf2e