From b026e0efa3e106877a7f4b1a21b9c0d980d1382d Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 17 Jun 2022 13:17:50 +0800 Subject: Update --- tigrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 06676ab..f21f7bf 100644 --- a/tigrc +++ b/tigrc @@ -102,8 +102,8 @@ bind main J @sh -c 'BRANCH=$(git branch --show-current) && git checkout %(commit bind main b none bind main bn @git branch "%(prompt Enter branch name: )" %(commit) bind main bN @git branch %(branch) --track %(remote)/%(branch) -bind main bu @git branch --set-upstream-to="%(prompt Set remote: )"/%(branch) %(branch) -bind main bU @git branch --set-upstream-to="%(prompt Set remote/branch: )" %(branch) +bind main bu +sh -c 'git branch --set-upstream-to="%(prompt Set remote: )"/%(branch) %(branch) || echo Fails' +bind main bU +sh -c 'git branch --set-upstream-to="%(prompt Set remote/branch: )" %(branch) || echo Fails' bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit) bind generic bd @git branch -d "%(prompt Delete branch: )" bind main bbd @git branch -d %(branch) -- cgit v1.2.3-70-g09d2