new: jj config
This commit is contained in:
parent
1c55dba40b
commit
4dd487a08e
1 changed files with 21 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
[user]
|
||||
name = "Matthew Ryan Dillon"
|
||||
email = "matthewrdillon@gmail.com"
|
||||
|
||||
[git]
|
||||
push-branch-prefix = "thermokarst/jj-"
|
||||
|
||||
[revsets]
|
||||
log = "@ | bases | branches | curbranch::@ | @::nextbranch | downstream(@, branchesandheads)"
|
||||
|
||||
[revset-aliases]
|
||||
'bases' = 'main'
|
||||
'downstream(x,y)' = '(x::y) & y'
|
||||
'branches' = 'downstream(trunk(), branches()) & mine()'
|
||||
'branchesandheads' = 'branches | (heads(trunk()::) & mine())'
|
||||
'curbranch' = 'latest(branches::@- & branches)'
|
||||
'nextbranch' = 'roots(@:: & branchesandheads)'
|
||||
|
||||
[ui]
|
||||
default-command = ["log", "--reversed"]
|
||||
diff.format = "git"
|
Loading…
Add table
Reference in a new issue