$ git clone -n https://src.fedoraproject.org/rpms/ghc-req.git /var/lib/mock/f38-build-689608-82555/root/chroot_tmpdir/scmroot/ghc-req Cloning into '/var/lib/mock/f38-build-689608-82555/root/chroot_tmpdir/scmroot/ghc-req'... $ git reset --hard 6d8f31c8393832d6502b882557f5740d19301090 HEAD is now at 6d8f31c Convert to %autorelease and %autochangelog