diff options
| author | typebrook <typebrook@gmail.com> | 2020-06-06 10:06:06 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-06-06 10:06:06 +0800 |
| commit | 10ec0e5bd541e3d1f84adb84b4a19f9c7a61ab01 (patch) | |
| tree | b64f832fc99d9e344c12f25a9fc2b82f6aaddca3 | |
| parent | 190da0fb3fd6ce8f29ea7b0a4e8c7efe6510376c (diff) | |
update
| -rw-r--r-- | tigrc | 2 | ||||
| -rwxr-xr-x | tools/misc/sync-gist.sh | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -108,7 +108,7 @@ bind generic bD ?>git branch -D "%(prompt Delete branch anyway: )" | |||
| 108 | bind main bbD ?>git branch -D %(branch) | 108 | bind main bbD ?>git branch -D %(branch) |
| 109 | bind main brd ?git branch -rd %(remote)/%(branch) | 109 | bind main brd ?git branch -rd %(remote)/%(branch) |
| 110 | bind main bv +sh -c "git branch -vv | grep %(branch)" | 110 | bind main bv +sh -c "git branch -vv | grep %(branch)" |
| 111 | bind main bV !sh -c "git branch -vv" | 111 | bind main bV >sh -c "git branch -vv | tig" |
| 112 | bind main bm @git branch -m %(branch) "%(prompt New branch name: )" | 112 | bind main bm @git branch -m %(branch) "%(prompt New branch name: )" |
| 113 | bind main bM @git branch --force "%(prompt Move which branch to here? )" %(commit) | 113 | bind main bM @git branch --force "%(prompt Move which branch to here? )" %(commit) |
| 114 | bind main c @sh -c "git branch --points-at=%(commit) | \ | 114 | bind main c @sh -c "git branch --points-at=%(commit) | \ |
diff --git a/tools/misc/sync-gist.sh b/tools/misc/sync-gist.sh index 1208fe2..86cca04 100755 --- a/tools/misc/sync-gist.sh +++ b/tools/misc/sync-gist.sh | |||
| @@ -13,7 +13,7 @@ while read -r commit; do | |||
| 13 | 13 | ||
| 14 | cd ~/git/Bash-Snippets | 14 | cd ~/git/Bash-Snippets |
| 15 | cp $repo/gist gist/gist | 15 | cp $repo/gist gist/gist |
| 16 | git add gist/gist && git commit -m "$message" | 16 | git add gist/gist && git commit -m "$message" || true |
| 17 | done | 17 | done |
| 18 | 18 | ||
| 19 | cd $repo | 19 | cd $repo |