$ git clone -n https://src.fedoraproject.org/rpms/ghc-split.git /var/lib/mock/f38-build-689745-82571/root/chroot_tmpdir/scmroot/ghc-split Cloning into '/var/lib/mock/f38-build-689745-82571/root/chroot_tmpdir/scmroot/ghc-split'... $ git reset --hard 357be1b5c93bb4aaf0458495fc14e6f8c5e1253e HEAD is now at 357be1b Convert to %autorelease and %autochangelog