mirror of
https://github.com/prdlk/television.git
synced 2026-11-03 05:27:43 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,37 @@
|
||||
[metadata]
|
||||
name = "git-branch"
|
||||
description = "A channel to select from git branches"
|
||||
requirements = ["git"]
|
||||
|
||||
[source]
|
||||
command = "git --no-pager branch --all --format=\"%(refname:short)\""
|
||||
output = "{split: :0}"
|
||||
|
||||
[preview]
|
||||
command = "git show -p --stat --pretty=fuller --color=always '{0}'"
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:checkout"
|
||||
ctrl-d = "actions:delete"
|
||||
ctrl-m = "actions:merge"
|
||||
ctrl-r = "actions:rebase"
|
||||
|
||||
[actions.checkout]
|
||||
description = "Checkout the selected branch"
|
||||
command = "git checkout '{0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.delete]
|
||||
description = "Delete the selected branch"
|
||||
command = "git branch -d '{0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.merge]
|
||||
description = "Merge the selected branch into current branch"
|
||||
command = "git merge '{0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.rebase]
|
||||
description = "Rebase current branch onto the selected branch"
|
||||
command = "git rebase '{0}'"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user