$ git clone -n https://src.fedoraproject.org/rpms/ghc-foldl.git /var/lib/mock/f31-build-54360-27988/root/thebuilddir/tmp/scmroot/ghc-foldl Cloning into '/var/lib/mock/f31-build-54360-27988/root/thebuilddir/tmp/scmroot/ghc-foldl'... $ git reset --hard e9cb36de3dc247839957c5c3f599359bb51fa087 HEAD is now at e9cb36d update to 1.4.5