Skip to content

Instantly share code, notes, and snippets.

@lfo
Last active Oct 3, 2019
Embed
What would you like to do?
[user]
name = lfo
email = laurent.foret@gmail.com
[alias]
lg = !"git lg1"
lg1 = !"git lg1-specific --all"
lg1-specific = 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(bold yellow)%d%C(reset)'
co = checkout
br = branch
ci = commit
st = status -s
last = log -1 HEAD
reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2"
[core]
editor = vim
autocrlf = true
[pull]
rebase = true
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment