Skip to content

Instantly share code, notes, and snippets.

@foundy
Last active February 28, 2024 02:12
Show Gist options
  • Save foundy/003c0850b39aa95fea1c064d924cc353 to your computer and use it in GitHub Desktop.
Save foundy/003c0850b39aa95fea1c064d924cc353 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Foundy
email = [email protected]
[alias]
lg = log --decorate --graph --pretty=format:'%C(bold blue)%h%C(reset) (%C(bold cyan)%ai%C(reset)%C(bold green) %ar %Cred%an%Creset)%C(reset)%C(bold yellow)%d%C(reset), %C(white)%s%C(reset) %C(dim white)'
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment