$ git clone -n https://src.fedoraproject.org/rpms/ghc-pretty-show.git /var/lib/mock/f31-build-54761-28052/root/chroot_tmpdir/scmroot/ghc-pretty-show Cloning into '/var/lib/mock/f31-build-54761-28052/root/chroot_tmpdir/scmroot/ghc-pretty-show'... $ git reset --hard 1e8ceea0dd4e9e1b1939f3d331f3db74f3d7b418 HEAD is now at 1e8ceea update to 1.7