$ git clone -n https://src.fedoraproject.org/rpms/ghc-hslua-module-text.git /var/lib/mock/f38-build-689262-82515/root/chroot_tmpdir/scmroot/ghc-hslua-module-text Cloning into '/var/lib/mock/f38-build-689262-82515/root/chroot_tmpdir/scmroot/ghc-hslua-module-text'... $ git reset --hard b3bdc40164608fc2a5e1ce6308c67ce01298a95d HEAD is now at b3bdc40 update to 1.0.3.1