🔥 gitconfig: make fzf alias actually useful
This commit is contained in:
parent
bb39d27f4b
commit
9577e43ce6
@ -3,8 +3,8 @@
|
|||||||
name = Tobias Manske
|
name = Tobias Manske
|
||||||
signingkey = 511951B04CA6348737AAA76344EA83E2013CC39A
|
signingkey = 511951B04CA6348737AAA76344EA83E2013CC39A
|
||||||
[alias]
|
[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
|
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)'
|
||||||
fzf = "!git lg --color=always | fzf --multi --preview 'git show --color=always {+2}' --ansi"
|
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"
|
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
|
||||||
undo = reset HEAD~
|
undo = reset HEAD~
|
||||||
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
|
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
|
||||||
|
Loading…
Reference in New Issue
Block a user