adding jj tug alias
This commit is contained in:
parent
6807d045e4
commit
bc46e56bf0
1 changed files with 2 additions and 4 deletions
|
|
@ -23,12 +23,10 @@ git_push_bookmark = '"{{ .github_personal }}_jj_" ++ change_id.short()'
|
||||||
[revset-aliases]
|
[revset-aliases]
|
||||||
"immutable_heads()" = "builtin_immutable_heads() | (trunk().. & ~mine())"
|
"immutable_heads()" = "builtin_immutable_heads() | (trunk().. & ~mine())"
|
||||||
"why_immutable(r)" = "r | roots(r:: & immutable_heads())"
|
"why_immutable(r)" = "r | roots(r:: & immutable_heads())"
|
||||||
|
"closest_bookmark(to)" = "heads(::to & bookmarks())"
|
||||||
|
|
||||||
[aliases]
|
[aliases]
|
||||||
l = ["log", "-r", "(trunk()..@):: | (trunk()..@)-"]
|
tug = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@-"]
|
||||||
refresh = ["rebase", "-s", "roots(trunk()..@)", "-d", "trunk()"]
|
|
||||||
insert = ["rebase", "-r", "@", "--before", "merge", "--after", "trunk()"]
|
|
||||||
bdiff = ["diff", "-r", "(trunk()..@)::"]
|
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
default-command = ["log"]
|
default-command = ["log"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue