$ git clone -n https://src.fedoraproject.org/rpms/ghc-servant-foreign.git /var/lib/mock/f38-build-722295-98767/root/chroot_tmpdir/scmroot/ghc-servant-foreign Cloning into '/var/lib/mock/f38-build-722295-98767/root/chroot_tmpdir/scmroot/ghc-servant-foreign'... $ git reset --hard 02a99e7a3fa92e0d575b98b1bcf4e8a30dc53e4d HEAD is now at 02a99e7 Convert to %autorelease and %autochangelog