Skip to content

Instantly share code, notes, and snippets.

@Ablesius Ablesius/.gitconfig
Created Oct 20, 2018

What would you like to do?
name = Alexander Blesius
email =
excludesfile = /home/alex/git/gitignore_global
default = simple
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
co = checkout
cam = commit -a -m
b = branch
br = for-each-ref --sort=-committerdate refs/heads/ refs/remotes/origin/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset): %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(color:green)(%(committerdate:relative))%(color:reset) %(color:bold blue)<%(authorname)>%(color:reset)' -
brall = for-each-ref --sort=-committerdate refs/heads/ refs/remotes/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset): %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(color:green)(%(committerdate:relative))%(color:reset) %(color:bold blue)<%(authorname)>%(color:reset)' -
ca = commit --amend
last = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -1
cm = commit -m
st = status
fa = fetch --all
helper = /usr/lib/git-core/git-credential-libsecret
rebase = true
autosquash = true
autostash = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.