diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-07-01 17:46:05 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-07-01 17:46:05 +0200 |
| commit | c4bdeffdd0716d7e7dd1f8ab3be43a60029a7052 (patch) | |
| tree | ba1c314ff2eef97eebd48e0c707aa6f90ee73401 | |
| parent | 1f4f018945b108896e3ee53dc1feaa096caaf4f7 (diff) | |
| download | dotfiles-c4bdeffdd0716d7e7dd1f8ab3be43a60029a7052.tar.gz dotfiles-c4bdeffdd0716d7e7dd1f8ab3be43a60029a7052.tar.bz2 dotfiles-c4bdeffdd0716d7e7dd1f8ab3be43a60029a7052.zip | |
git: neuer Alias zum aufräumen unnötiger branches
| -rw-r--r-- | git/config | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -34,4 +34,4 @@ | |||
| 34 | 34 | ||
| 35 | [alias] | 35 | [alias] |
| 36 | lg = log --color --graph --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches | 36 | lg = log --color --graph --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches |
| 37 | 37 | cleanup = "!git branch --merged master --format='%(refname:short)' | grep -v '^master$' | xargs -r git branch -d" | |
