jj: Add private commit uploading safety
Do not push commits prefixed with `private: ` to any git remote.
This commit is contained in:
parent
6a6dfe3a6e
commit
5dfba029d8
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ key = "73BA40D5AFAF49C9"
|
|||
[git]
|
||||
sign-on-push = true
|
||||
subprocess = true
|
||||
private-commits = "description(glob:'wip:*')" # refuse to push WIP commits
|
||||
private-commits = "description(glob:'wip:*') | description(glob:'private:*')" # refuse to push WIP commits
|
||||
|
||||
[ui]
|
||||
diff-editor = ["nvim", "-c", "DiffEditor $left $right $output"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue