jj: Add private commit uploading safety

Do not push commits prefixed with `private: ` to any git remote.
This commit is contained in:
Marty Oehme 2025-02-18 12:19:47 +01:00
parent 6a6dfe3a6e
commit 5dfba029d8
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 3 additions and 2 deletions

View file

@ -62,5 +62,6 @@ alias jb="jj log -r 'ancestors(heads(all()), 3)'"
alias jrb="jj rebase"
# remote work
alias jrv="jj git remote list"
alias jp="jj git push"