-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
42 lines (41 loc) · 1.03 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[user]
name = burxtx
email = [email protected]
[diff]
tool = vimdiff
[difftool]
prompt = No
[core]
editor = vim
whitespace = tab-in-indent,trailing-space
trustctime = false
autocrlf = input # for windows set autocrlf = true
[url "[email protected]:"]
insteadOf = https://git.n.xiaomi.com/
[alias]
st = status
# d = difftool
# dl = difftool HEAD^ HEAD
# dc = difftool --cached
co = checkout
ci = commit
br = branch
# lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
# l = log --oneline --decorate -12 --color
# ll = log --oneline --decorate --color
# lc = log --graph --color
# sbi = submodule init
# sbu = submodule update
# sbp = submodule foreach git pull
# sbc = submodule foreach git co master
# [push]
# default = matching
[color]
ui = auto
# [credential]
# helper = cache --timeout 2592000
# [filter "lfs"]
# smudge = git-lfs smudge -- %f
# process = git-lfs filter-process
# required = true
# clean = git-lfs clean -- %f