Skip to content

Instantly share code, notes, and snippets.

@Ablesius
Created October 20, 2018 10:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ablesius/a0087ee654c6cf760fefe647ac6521e7 to your computer and use it in GitHub Desktop.
Save Ablesius/a0087ee654c6cf760fefe647ac6521e7 to your computer and use it in GitHub Desktop.
[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