From 5fe8e92e4aa0cc799a8a22c4a14836a02703cfde Mon Sep 17 00:00:00 2001 From: typebrook Date: Tue, 15 Oct 2019 10:17:23 +0800 Subject: update --- tigrc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index b8b8176..aaa82c6 100644 --- a/tigrc +++ b/tigrc @@ -279,18 +279,17 @@ bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" # refs view #==================== bind refs C none -bind refs c @git checkout %(branch) +bind refs c @git checkout %(ref) -bind refs b none -bind refs bd @git branch -d %(branch) -bind refs bD ?git branch -D %(branch) -bind refs pd ?git push %(remote) :%(branch) -bind refs brd ?git branch -rd %(remote)/%(branch) bind refs r none +bind refs rd @git branch -d %(ref) +bind refs rD ?git branch -D %(ref) +bind refs pd ?git push %(remote) :%(ref) +bind refs brd ?git branch -rd %(remote)/%(branch) bind refs f ?git fetch --all bind refs ?git fetch %(remote) -bind refs F ?git fetch %(remote) %(branch) +bind refs F ?git fetch %(remote) %(ref) bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" -- cgit v1.2.3-70-g09d2