summaryrefslogtreecommitdiff
path: root/wrappers/jujutsu/config.nix
blob: 44021a0a01d5df6917699c38badb1358d30adadc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  user = {
    email = "isabella@sorre.xyz";
    name = "Isabella Bastaja";
  };
  ui.paginate = "never";
  # signing = {
  #   behavior = "own";
  #   backend = "gpg";
  #   key = "isabella@sorre.xyz";
  #   backends.gpg.allow-expired-keys = false;
  # };
  git = {
    # sign-on-push = true;
    private-commits = "description(glob:'private:*')";
    write-change-id-header = true;
  };

  # `jj l` shows commits on the working-copy commit's (anonymous) branch
  # compared to the `main` branch
  aliases.l = [
    "log"
    "-r"
    "(main..@):: | (main..@)-"
  ];

  aliases.tug = [
    "bookmark"
    "move"
    "--from"
    "heads(::@- & bookmarks())"
    "--to"
    "@-"
  ];
}