diff options
| author | Robert Günzler <r@gnzler.io> | 2020-05-25 17:33:46 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-05-25 17:33:46 +0200 |
| commit | ab231db4700b2073f3c98528ce9d841fc547bcdc (patch) | |
| tree | b29e5c356a345ceba60091cdac8a903086c1f803 /.config/git | |
| parent | 22982eaa6edb89a6a1a03a358894e7b50de05ea5 (diff) | |
fixup! git: add aliases for fzfez commands
Diffstat (limited to '.config/git')
| -rw-r--r-- | .config/git/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/git/config b/.config/git/config index 49b871c..66be779 100644 --- a/.config/git/config +++ b/.config/git/config @@ -47,7 +47,7 @@ df = diff --word-diff d = "!f() { local a=${1:-HEAD}; local b=${2:-master}; if [[ $a == '-' ]]; then a=HEAD; fi; printf ' %s is %s commits ahead and %s commits behind %s\n' `git rev-parse --short=7 $a` `git rev-list --count $b..$a` `git rev-list --count $a..$b` $b; printf ' last common commit (merge-base): %s\n' `git merge-base $a $b`; git diff --shortstat $a..$b; }; f" unstage = reset --hard HEAD - l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit + lp = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit ll = log --pretty=oneline --graph --abbrev-commit lm = log --pretty=format:'* %s (%h)' lg = log -p |