$ git clone -n https://src.fedoraproject.org/rpms/ghc-echo.git /var/lib/mock/f31-build-93904-32448/root/chroot_tmpdir/scmroot/ghc-echo Cloning into '/var/lib/mock/f31-build-93904-32448/root/chroot_tmpdir/scmroot/ghc-echo'... $ git reset --hard 3af183e8da756402b6d6f9781ed01fd85cc535f1 HEAD is now at 3af183e BR prof for lib and static for executable