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