$ git clone -n https://src.fedoraproject.org/rpms/fortune-mod.git /var/lib/mock/f31-build-109186-33908/root/chroot_tmpdir/scmroot/fortune-mod Cloning into '/var/lib/mock/f31-build-109186-33908/root/chroot_tmpdir/scmroot/fortune-mod'... $ git reset --hard ec4051df636bc9f135d06172a15be69746e5c17d HEAD is now at ec4051d - fix build