diff options
author | Guangxiong Lin <[email protected]> | 2022-09-10 19:12:38 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-09-10 19:12:38 +0800 |
commit | 255f08ddddc448bf8a9f3454d696b778999f7c54 (patch) | |
tree | 8b1c9ac78d58c6a1cd7f0ee5b05f9fadf4527cd8 | |
parent | 946e780e74436f7a31fae5c5348d892b3e65abd9 (diff) | |
download | dotfiles-255f08ddddc448bf8a9f3454d696b778999f7c54.tar.gz dotfiles-255f08ddddc448bf8a9f3454d696b778999f7c54.tar.bz2 dotfiles-255f08ddddc448bf8a9f3454d696b778999f7c54.zip |
Integrate with git jump
-rw-r--r-- | .gitconfig | 9 | ||||
-rwxr-xr-x | bin/git-jump | 5 |
2 files changed, 14 insertions, 0 deletions
@@ -47,3 +47,12 @@ rbc = rebase --continue rba = rebase --abort rbs = rebase --skip + + # contrib + + # git-jump + jp = jump + jd = jump diff + jm = jump merge + jg = jump grep + jw = jump ws diff --git a/bin/git-jump b/bin/git-jump new file mode 100755 index 0000000..d7f4cf4 --- /dev/null +++ b/bin/git-jump @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +if [[ $(uname) == Darwin ]] && command -v brew > /dev/null ;then + $(brew --prefix git)/share/git-core/contrib/git-jump/git-jump $@ +fi |