From 4ee76734de1d426df88a2a4791391909cd1a8597 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 14 Sep 2024 00:07:12 +0800 Subject: Update --- tigrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 02330a6..8817f54 100644 --- a/tigrc +++ b/tigrc @@ -39,12 +39,12 @@ bind generic xB +sh -c "echo -n %(blob) | xsel -ib && echo Full Blob Clipped" ## Remote bind generic Uv +sh -c "git remote -v | grep %(remote)" bind generic UV >sh -c "git remote -vv | tig" -bind generic Ua @git remote add "%(prompt New Github remote name: )" git@github.com:"%(prompt User/Repo: )" -bind generic UA @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )" +bind generic UA @git remote add "%(prompt New Github remote name: )" git@github.com:"%(prompt User/Repo: )" +bind generic Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )" bind generic Ur @git remote rename "%(prompt Rename which remote?: )" "%(prompt Enter new remote name: )" bind generic U! @git remote remove "%(prompt Remove which remote?: )" -bind generic Us @git remote set-url "%(prompt Set url for which remote?: )" git@github.com:"%(prompt User/Repo: )" -bind generic US @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )" +bind generic US @git remote set-url "%(prompt Set url for which remote?: )" git@github.com:"%(prompt User/Repo: )" +bind generic Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )" bind generic Uf ?git fetch "%(prompt Fetch from which remote?: )" bind generic UU ?git remote update --prune bind generic Ut ?sh -c "git pull %(remote) --tags --force" @@ -140,9 +140,9 @@ bind main gs ?@git merge %(branch) --squash bind main p none # override default pager binding bind main pp ?git push bind main pP ?git push -u %(remote) %(branch):%(branch) -bind main pr ?git push -u %(remote) %(branch):%(branch) +bind main pR ?git push -u %(remote) %(branch):%(branch) bind main pc ?git push -u %(remote) %(commit):%(branch) -bind main pR ?git push -u '%(prompt Which remote? )' %(branch):%(branch) +bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) bind main pF ?git push --force bind main pd ?git push %(remote) :%(branch) bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Which reference? )' -- cgit v1.2.3-70-g09d2