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