From 1bad0960a1a748118b486aa3c6a5802ab104c4e4 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 6 Feb 2023 22:58:25 +0800 Subject: Update git config --- gitconfig | 6 +----- tigrc | 4 +++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gitconfig b/gitconfig index c6bfa33..0ae8ef0 100644 --- a/gitconfig +++ b/gitconfig @@ -1,5 +1,5 @@ [user] - email = typebrook@topo.tw + email = pham@topo.tw name = Hsieh Chin Fan signingkey = 6DD8C14A @@ -8,7 +8,6 @@ smtpuser = pham smtpencryption = tls smtpserverport = 587 - smtpPass = `pass pham@topo.tw` [gpg] program = gpg2 @@ -32,9 +31,6 @@ [pull] ff = only -[credential] - helper = store - [filter "lfs"] process = git-lfs filter-process required = true diff --git a/tigrc b/tigrc index 3b6eec5..bf410a0 100644 --- a/tigrc +++ b/tigrc @@ -184,7 +184,9 @@ bind generic pt ?git push --tags bind generic pT ?git push %(remote) %(tag) # search in history -bind main S >sh -c 'git log -G "%(prompt Search: )" --pretty=raw | tig --pretty=raw' +bind main S none +bind main Sl >sh -c 'git log -G --pretty=raw "%(prompt Lines contains: )" | tig --pretty=raw' +bind main Sf >sh -c 'git log --pretty=raw -- "*%(prompt Filename: )*" --pretty=raw | tig --pretty=raw' # submodule bind main Zu ?>git submodule update -- cgit v1.2.3-70-g09d2