Skip to content

Instantly share code, notes, and snippets.

@OdinsHat
Last active September 11, 2022 12:49
Show Gist options
  • Save OdinsHat/5d81f69eef234a49a08f0bb1c886b09c to your computer and use it in GitHub Desktop.
Save OdinsHat/5d81f69eef234a49a08f0bb1c886b09c to your computer and use it in GitHub Desktop.
[user]
email = doug.bromley@gmail.com
name = Doug Bromley
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[core]
editor = vim
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[diff]
tool = vimdiff
[difftool]
prompt = false
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s [%aD] %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
l1 = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
l2 = log --graph --oneline --decorate --date=iso --all
l3 = !git log --oneline | grep
lgrep = !git log --oneline | grep
logrep = !git log --oneline | grep
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
co = checkout
cm = commit
cmm = commit -m
st = status
stat = status
unstage = reset --soft HEAD^
aliases = config --get-regexp alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment