Last active
August 7, 2024 13:37
-
-
Save dy-dx/87dc4eacf72e2f4753ed to your computer and use it in GitHub Desktop.
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
[push] | |
default = simple | |
[pull] | |
ff = only | |
[core] | |
whitespace = cr-at-eol | |
# https://stackoverflow.com/a/10584237 | |
pager = less -x1,5 | |
[color] | |
ui = true | |
[color "diff-highlight"] | |
oldNormal = red bold | |
oldHighlight = red bold 52 | |
newNormal = green bold | |
newHighlight = green bold 22 | |
[color "diff"] | |
meta = yellow | |
frag = magenta bold | |
commit = yellow bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[alias] | |
c = commit | |
ca = commit --amend --no-edit | |
co = checkout | |
cb = checkout -b | |
d = diff | |
dc = diff --cached | |
l = log --graph -n 30 --pretty=format':%C(yellow)%h%C(auto)%d%Creset %s %C(white) %an, %ar%Creset' | |
lol = log -n 100 --pretty=oneline --abbrev-commit --graph --decorate | |
s = status -sb | |
sl = stash list | |
rb = rebase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment