$ git clone -n https://src.fedoraproject.org/rpms/ghc-foldl.git /var/lib/mock/f38-build-689199-82511/root/chroot_tmpdir/scmroot/ghc-foldl Cloning into '/var/lib/mock/f38-build-689199-82511/root/chroot_tmpdir/scmroot/ghc-foldl'... $ git reset --hard 2000304033a51154c3cfd54e2964f71dedd72412 HEAD is now at 2000304 Convert to %autorelease and %autochangelog