Sometimes you would want to locally untrack files in a jujutsu repo. In my case, it was an Obsidian repo shared on GitHub that includes the app settings. I’d like to change some preferences but I do not want it to be sync back to other collaborators.

You can do:

$ jj config set --repo snapshot.auto-track "~[full path to file]"
$ jj file untrack "[file]" # if already changed / tracked

src: https://github.com/jj-vcs/jj/issues/5225#issuecomment-3172243422