Last active
December 21, 2021 10:42
-
-
Save andypost/8b289bbfc939fd7e2af6 to your computer and use it in GitHub Desktop.
My git config
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
[color] | |
ui = auto | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[core] | |
whitespace=fix,-indent-with-non-tab,-indent-with-tab,trailing-space,cr-at-eol | |
editor = mcedit | |
preloadindex = true | |
autocrlf = false | |
safecrlf = false | |
ignorecase = false | |
excludesfile = ~/.gitignore | |
[push] | |
default = tracking | |
[diff] | |
renames = copies | |
[alias] | |
b = branch | |
ba = branch -a | |
co = checkout | |
ci = commit | |
df = !git diff --no-prefix && git diff --staged --no-prefix | |
cl = reset --hard | |
st = status -uno | |
l = log --pretty=oneline --abbrev-commit | |
diffup = !git log --oneline --reverse @{u}... && git diff 8.x... > $1 && git diff @{u} > interdiff.txt && echo | |
[apply] | |
whitespace = nowarn | |
[branch] | |
autosetuprebase = always | |
[grep] | |
lineNumber = true | |
[merge] | |
defaultToUpstream = 1 | |
[user] | |
name = Andy Postnikov | |
[credential] | |
helper = cache --timeout=3600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://help.github.com/articles/ignoring-files/#create-a-global-gitignore