$ git clone -n https://src.fedoraproject.org/rpms/ghc-optparse-simple.git /var/lib/mock/f40-build-743557-111265/root/chroot_tmpdir/scmroot/ghc-optparse-simple Cloning into '/var/lib/mock/f40-build-743557-111265/root/chroot_tmpdir/scmroot/ghc-optparse-simple'... $ git reset --hard b3c5b8dc9273748d6af34348cf0e1b489081fb89 HEAD is now at b3c5b8d githash-0.1.7.0