mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
jj: show the diff in commit editor; add tug alias(which i feel i won't use much)
This commit is contained in:
parent
d2d0c722a1
commit
0d3beca4fc
1 changed files with 10 additions and 0 deletions
|
|
@ -19,3 +19,13 @@ auto-local-bookmark = true
|
||||||
l = ["log", "-n10"]
|
l = ["log", "-n10"]
|
||||||
n = ["new"]
|
n = ["new"]
|
||||||
bc = ["bookmark", "create"]
|
bc = ["bookmark", "create"]
|
||||||
|
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
|
||||||
|
|
||||||
|
[templates]
|
||||||
|
draft_commit_description = '''
|
||||||
|
concat(
|
||||||
|
coalesce(description, default_commit_description, "\n"),
|
||||||
|
"\nJJ: ignore-rest\n",
|
||||||
|
diff.git(),
|
||||||
|
)
|
||||||
|
'''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue