From e8228d9e34b12beb9d6105392a59854343ec3e2b Mon Sep 17 00:00:00 2001 From: typebrook Date: Tue, 2 Apr 2019 11:16:13 +0800 Subject: update --- tigrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index dc46592..de27e3a 100644 --- a/tigrc +++ b/tigrc @@ -82,6 +82,7 @@ bind main p none bind main pp ?git push bind main pP ?git push -u %(remote) %(branch):%(branch) bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) +bind main pd ?git push %(remote) :%(branch) # reset/rebase/revert bind main u ?git reset %(commit) @@ -175,11 +176,12 @@ bind stage p :?^diff --(git|cc) #==================== # tree view #==================== -set tree-view = author:abbreviated date:relative mode file-size:units file-name +set tree-view = author:abbreviated date:relative mode file-size:units id:no file-name bind tree t +git cat-file -p %(commit) bind tree d ?rm %(file) +bind tree m >tig %(file) bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" -- cgit v1.2.3-70-g09d2