$ git clone -n https://src.fedoraproject.org/rpms/ghc-primitive.git /var/lib/mock/f38-build-689585-82551/root/chroot_tmpdir/scmroot/ghc-primitive Cloning into '/var/lib/mock/f38-build-689585-82551/root/chroot_tmpdir/scmroot/ghc-primitive'... $ git reset --hard cb28aa8c976165c9b79eaabbaed56a7966422b42 HEAD is now at cb28aa8 Convert to %autorelease and %autochangelog