diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-04-01 14:19:29 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-04-01 14:19:29 -0400 |
commit | 0d9a401b82a685dcb295b11188ae467562bb0d92 (patch) | |
tree | f5b2e064773b060bf3ee0e387397f228c54703b8 /config/git/config | |
parent | 2152cd93af05cdcc48dd06ee65ed4628293f05d6 (diff) | |
download | conf-0d9a401b82a685dcb295b11188ae467562bb0d92.tar.gz conf-0d9a401b82a685dcb295b11188ae467562bb0d92.zip |
try out skim
Diffstat (limited to 'config/git/config')
-rw-r--r-- | config/git/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/git/config b/config/git/config index 13a58a7..6d9d9fa 100644 --- a/config/git/config +++ b/config/git/config @@ -10,7 +10,7 @@ bda = "!f() { git branch --merged $(git default-branch) --format='%(refname:short)' | grep -v \"^$(git default-branch)$\" | xargs -r git branch -d; }; f" blame-stats = !~/.bin/git/git-blame-stats br = for-each-ref --sort=committerdate refs/heads/ --format='%(align:30,left)%(HEAD) %(refname:short)%(end) %(color:magenta)(%(committerdate:relative))' - choose-branch = "!f() { git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short)' | fzf --height 40% --no-sort --preview='git show {} -q --format=medium'; }; f" + choose-branch = "!f() { git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short)' | sk --height 40% --no-sort --preview='git show {} -q --format=medium'; }; f" c = "!f() { git choose-branch | head -n1 | xargs --no-run-if-empty git co; }; f" cc = cherry-pick co = checkout |