$ git clone -n https://src.fedoraproject.org/rpms/ghc-mockery.git /var/lib/mock/f31-build-100640-33294/root/thebuilddir/tmp/scmroot/ghc-mockery Cloning into '/var/lib/mock/f31-build-100640-33294/root/thebuilddir/tmp/scmroot/ghc-mockery'... $ git reset --hard faf44169fa6b78ac8bb7dfbcc38f58893af348f6 HEAD is now at faf4416 BR prof for lib and static for executable