Last active
July 26, 2020 09:46
-
-
Save d135-1r43/6fa9f0e09260fbcffb5699e551529d92 to your computer and use it in GitHub Desktop.
.gitconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --decorate | |
wip = !git add -A && git commit -m WIP | |
unwip = reset --mixed HEAD~1 | |
ap = !git add -A && git commit --ammend --no-edit | |
s = status -s | |
pl = pull --ff-only | |
pll = !git pl && git lg @{1}.. | |
aliases = config --get-regex alias | |
logpull = log --reverse --no-merges --stat @{1}.. | |
diffpull = diff @{1}.. | |
fix = !git diff --name-only | uniq | xargs vim | |
sm = submodule update --recursive --remote | |
delrb = push origin --delete | |
fix= !git diff --name-only | uniq | xargs vim | |
[core] | |
pager = delta --plus-color="#012800" --minus-color="#340001" --theme='Monokai Extended' | |
excludesfile = /Users/mhe/.gitignore_global | |
[interactive] | |
diffFilter = delta --color-only | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment