Skip to content

Instantly share code, notes, and snippets.

@Ablesius Ablesius/.gitconfig
Created Oct 20, 2018

Embed
What would you like to do?
[user]
name = Alexander Blesius
email = alexander+git@blesius.eu
[core]
excludesfile = /home/alex/git/gitignore_global
[push]
default = simple
[alias]
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
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[pull]
rebase = true
[rebase]
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.