General maintenance; NEW: git fzf

This commit is contained in:
2020-05-22 13:10:59 +02:00
parent e4ccee9cfd
commit 6637ad03e2
3 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,10 @@
[user]
email = tobias.manske@mailbox.org
name = Tobias Manske
signingkey = 978D99F12D4E041F
signingkey = FF57750B830AA3A1
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
fzf = "!git lg --color=always | fzf --multi --preview 'git show --color=always {+2}' --ansi"
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
undo = reset HEAD~
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"