4 ms·
If you leave the WIP head change blank, i.e. don't give it a description at all, then JJ will block you from pushing it unless you pass a specific flag, which i
by MrJohz 1y ago
If you leave the WIP head change blank, i.e. don't give it a description at all, then JJ will block you from pushing it unless you pass a specific flag, which is useful for sanity checking this sort of stuff.
You might be able to configure JJ to also block commits with certain descriptions as well, which might be useful in your case.
- dzaima 1y agoI specifically have the WIP head description include the name of bookmark that it's attached to, if any (emulating git's non-detached head), so can't leave it empty (and generally wouldn't want to, for easy way to identify it, esp. with multiple workspaces). Some push blocker for certain commit name patterns would make sense to look into.
- Filligree 1y agoShould be simple enough, but look into trailers; the language already supports key-value maps in the commit description.
- riwsky 1y agoYou indeed can: https://jj-vcs.github.io/jj/latest/config/#set-of-private-commits https://jj-vcs.github.io/jj/latest/config/#set-of-private-co...