Last active
June 23, 2021 03:12
-
-
Save Vovan-VE/88e27cd3596a2dd30f95d3dc6b60b220 to your computer and use it in GitHub Desktop.
My personal ~/.gitconfig
This file contains hidden or 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
[core] | |
filemode = true | |
eol = lf | |
safecrlf = false | |
autocrlf = input | |
symlinks = true | |
sharedRepository = all | |
whitespace = blank-at-eol,space-before-tab,blank-at-eof,tab-width=4 | |
editor = nano | |
[diff] | |
renames = copy | |
renameLimit = 99999 | |
tool = diffuse | |
[i18n] | |
commitEncoding = utf-8 | |
[log] | |
date = local | |
[alias] | |
lg = log --graph --oneline --decorate=short --date-order | |
lga = log --graph --oneline --decorate=short --date-order --all | |
lgb = log --graph --oneline --decorate=short --date-order --boundary | |
ch = checkout | |
nb = checkout -b | |
br = branch | |
st = status | |
df = diff | |
dc = diff --cached | |
dcw = diff --cached --word-diff=color \"--word-diff-regex=->|-*[\\$a-zA-Z_][\\$a-zA-Z_0-9]*(-+[a-zA-Z_][a-zA-Z_0-9]*)*|[0-9]+([.][0-9]+)*([eE][-+]?[0-9]+)?|[+][+]?|/[*>]?|[*][*/]?|&&?|[|][|]?|::?|!(==?|~)?|=([>~]|==?)?|<([=>]|<<?|/)?|>[=>]?|[][,(){}\\\"'\\\\]|[^][,.:(){}!=<>~+/*&\\\"'\\\\|[:space:]\\$a-zA-Z_0-9-]+\" | |
dw = diff --word-diff=color \"--word-diff-regex=->|-*[\\$a-zA-Z_][\\$a-zA-Z_0-9]*(-+[a-zA-Z_][a-zA-Z_0-9]*)*|[0-9]+([.][0-9]+)*([eE][-+]?[0-9]+)?|[+][+]?|/[*>]?|[*][*/]?|&&?|[|][|]?|::?|!(==?|~)?|=([>~]|==?)?|<([=>]|<<?|/)?|>[=>]?|[][,(){}\\\"'\\\\]|[^][,.:(){}!=<>~+/*&\\\"'\\\\|[:space:]\\$a-zA-Z_0-9-]+\" | |
a = add | |
aa = add --all | |
au = add --update | |
ct = commit | |
cm = commit -m | |
nd = commit --amend | |
k = cherry-pick | |
kn = cherry-pick --no-commit | |
mff = merge --ff-only | |
pff = pull --ff-only | |
ru = remote update | |
ruo = remote update origin | |
[color] | |
branch = auto | |
grep = auto | |
interactive = auto | |
showbranch = auto | |
status = auto | |
ui = auto | |
sh = auto | |
[color "branch"] | |
current = white bold | |
local = green | |
remote = blue bold | |
plain = yellow | |
[color "diff"] | |
; plain = | |
; meta = | |
; frag = | |
; func = | |
; old = | |
; new = | |
; commit = | |
; whitespace = | |
[color "decorate"] | |
branch = green | |
remoteBranch = blue bold | |
tag = cyan bold | |
HEAD = white bold | |
stash = yellow | |
[color "status"] | |
changed = blue bold | |
header = white dim bold | |
added = yellow | |
untracked = magenta | |
branch = cyan bold | |
nobranch = red bold | |
[merge] | |
tool = diffuse | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment