Skip to content

Instantly share code, notes, and snippets.

@lfo
Last active October 3, 2019 12:26
Show Gist options
  • Save lfo/83189b741af7299ff61cc4f2a3c3c50d to your computer and use it in GitHub Desktop.
Save lfo/83189b741af7299ff61cc4f2a3c3c50d to your computer and use it in GitHub Desktop.
[user]
name = lfo
email = [email protected]
[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