Skip to content

Instantly share code, notes, and snippets.

@futerzak
futerzak / .gitconfig
Created March 7, 2024 10:28
git alias
[alias]
gone = "!f() { git fetch --all --prune; git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D; }; f"
lol = "log --graph --decorate --pretty=oneline --abbrev-commit"
lola = "log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local"
lg1 = 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(auto)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg = lg1

Keybase proof

I hereby claim:

  • I am futerzak on github.
  • I am futerzak (https://keybase.io/futerzak) on keybase.
  • I have a public key whose fingerprint is 13D7 6E02 4B99 736A F82F F07F A056 006A 636E F181

To claim this, I am signing this object: