From 06616fd7d4c71f206d38acd3a15278e6b7f7dd84 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 13 Mar 2019 17:07:23 +0800 Subject: update --- tigrc | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 5356efc..7991ffe 100644 --- a/tigrc +++ b/tigrc @@ -29,13 +29,15 @@ bind main !?git rebase -i %(commit) bind main m ?git merge %(commit) bind main M ?git merge %(commit) --no-ff bind main P ?git push -bind main b @git checkout -b "%(prompt Enter branch name: )" bind main B !sh scripts/bump_version.sh bind main V @git log -S "%(prompt Enter search word: )" -bind main gdb !git branch -d "%(prompt Delete branch: )" -bind main gDb ?git branch -D "%(prompt Delete branch anyway: )" -bind main gsr ?git reset %(commit) --soft -bind main ghr ?git reset %(commit) --hard +bind main b none +bind main bn @git branch "%(prompt Enter branch name: )" %(commit) +bind main bd @git branch -d "%(prompt Delete branch: )" +bind main bD ?git branch -D "%(prompt Delete branch anyway: )" +bind main bv +git branch -vv +bind main u ?git reset %(commit) --soft +bind main gu ?git reset %(commit) --hard set main-view = \ date:default \ @@ -60,11 +62,14 @@ bind status k :?^[MADRU?] bind stash D ?git stash drop %(stash) bind stash a ?git stash apply %(stash) +# tree view +bind tree d ?rm %(file) + # refs view bind refs C none -bind refs c ?git checkout %(branch) -bind refs d @git branch -d %(branch) -bind refs b @git branch %(branch) %(commit) +bind refs c @git checkout %(branch) +bind refs bd ?git branch -d %(branch) +bind refs bD ?git branch -D %(branch) # color color diff-header black yellow -- cgit v1.2.3-70-g09d2