$ git clone -n https://src.fedoraproject.org/rpms/ghc-IfElse.git /var/lib/mock/f31-build-99249-33137/root/thebuilddir/tmp/scmroot/ghc-IfElse Cloning into '/var/lib/mock/f31-build-99249-33137/root/thebuilddir/tmp/scmroot/ghc-IfElse'... $ git reset --hard b6422ad0a3cad3b2e498404bfbf2f191bd190b26 HEAD is now at b6422ad BR prof for lib and static for executable