diff --git a/config/jj/config.toml b/config/jj/config.toml index 69b1ad0..cd0e0c3 100644 --- a/config/jj/config.toml +++ b/config/jj/config.toml @@ -18,13 +18,11 @@ key = "~/.ssh/id_ed25519.pub" [git] sign-on-push = true auto-local-bookmark = true +private-commits = "private()" +# push-bookmark-prefix = "olexsmir/" [aliases] -d = ["diff"] l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"] -llog = ["log", "-T", "builtin_log_detailed"] -n = ["new"] -push = ["git", "push"] tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"] [templates] @@ -38,3 +36,6 @@ concat( [template-aliases] "format_timestamp(timestamp)" = "timestamp.ago()" + +[revset-aliases] +"private()" = "description(glob:'private:*')"