From 1d40a90bbc3ce2d90fef5a22a20dbbcb2a898cbd Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 12 Sep 2023 17:58:31 +0800 Subject: Update --- tigrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index d5a0ca7..02330a6 100644 --- a/tigrc +++ b/tigrc @@ -117,7 +117,7 @@ bind main bm @git branch -m %(branch) "%(prompt New branch name: )" bind main bM @git branch --force "%(prompt Move which branch to here? )" %(commit) bind main c @sh -c "git branch --points-at=%(commit) | \ sed -n '/^*/ {n;p}' | \ - { cat -; echo %(commit); } | \ + { cat; echo %(commit); } | \ head -1 | \ xargs git checkout" bind main bo >tig %(branch) -- cgit v1.2.3-70-g09d2