$ git clone -n https://src.fedoraproject.org/rpms/ghc-pretty-show.git /var/lib/mock/f38-build-689582-82546/root/chroot_tmpdir/scmroot/ghc-pretty-show Cloning into '/var/lib/mock/f38-build-689582-82546/root/chroot_tmpdir/scmroot/ghc-pretty-show'... $ git reset --hard 789d9b928721f74edc06e9b833820537eb28d5fe HEAD is now at 789d9b9 Convert to %autorelease and %autochangelog