-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathgitconfig.html
More file actions
142 lines (122 loc) · 3 KB
/
Copy pathgitconfig.html
File metadata and controls
142 lines (122 loc) · 3 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>gitconfig</title>
<link rel="stylesheet" href="templates/SyntaxHighlighter.css"></link>
<link rel="stylesheet" href="templates/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script language="javascript" src="templates/shCore.js"></script>
<script language="javascript" src="templates/shBrushCpp.js"></script>
<script language="javascript" src="templates/shBrushJScript.js"></script>
<script language="javascript" src="templates/shBrushPhp.js"></script>
<script language="javascript" src="templates/shBrushJava.js"></script>
<script language="javascript" src="templates/shBrushXml.js"></script>
<script language="javascript" src="templates/shBrushCss.js"></script>
<script language="javascript" src="templates/shBrushObjectiveC.js"></script>
<script language="javascript" src="templates/vimwiki.js"></script>
</head>
<body>
<div class="navbar">
<div class="navbar-container">
<a class="brand" href="index.html">NieNet</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="index.html">主页</a></li>
<li><a href="about.html">关于</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container">
<div id="content">
<p>
.gitconfig文件为git的配置文件,真对用户而言,路径一般为~/.gitconfig。
</p>
<p>
ubuntu下的配置
</p>
<pre>
[alias]
co = checkout
ci = commit
st = status
br = branch
ll = log --oneline --decorate
ol = log -p -1
[color]
status = auto
branch = auto
ui = auto
[user]
name = nieyong
email = nieyong_1947@126.com
[giggle]
main-window-maximized = false
main-window-geometry = 1215x544+126+107
history-view-vpane-position = 56
file-view-vpane-position = 467
main-window-view = FileView
</pre>
<p>
MAC下的配置
</p>
<pre>
[alias]
co = checkout
ci = commit
st = status
br = branch
ll = log --oneline --decorate --since='2 days ago'
ol = log -p -1
[color]
status = auto
branch = auto
ui = auto
</pre>
<p>
windows下的配置
</p>
<pre>
[core]
symlinks = false
autocrlf = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[alias]
co = checkout
ci = commit -a
st = status
br = branch
oneline = log --pretty=oneline -n 5
onelog = log -p -1
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
[pack]
packSizeLimit = 2g
[help]
format = html
[http]
sslCAinfo = /bin/curl-ca-bundle.crt
[sendemail]
smtpserver = /bin/msmtp.exe
[diff "astextplain"]
textconv = astextplain
[rebase]
autosquash = true
[i18n]
logoutputencoding = gbk
</pre>
</div>
</div>
<footer>
<p id="legal">Copyright © 2012 NIE-YONG. All Rights Reserved.</p>
</footer>
<a class="go2top" style="display: none;"><span></span></a>
</body>
<script language="javascript">
dp.SyntaxHighlighter.HighlightAll('code');
</script>
</html>