-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
38 lines (38 loc) · 1.1 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
[user]
email = [email protected]
name = liangguohuan
[push]
default = matching
[branch "master"]
remote = origin
merge = refs/heads/master
[include]
path = ~/.gitalias
[alias]
c1 = clone --depth 1
browse = "!f(){ start-stop-daemon --start --background --name=docweb --exec /usr/bin/xdg-open $(git http-url | sed 's/\\.git//') &>/dev/null; }; f"
addurl = remote add origin
seturl = remote set-url origin
cma = commit -a -m
cam = commit --amend -m
url = config --get remote.origin.url
http-url = "!f(){ git url | awk -F ':' '{ if (index($0, \"http\") == 0) printf(\"https://github.com/%s\", $2); else print $0 }'; }; f"
info = remote -v
uload = push -u origin master
dload = pull origin master
showchange = diff HEAD
whatadded = log --follow --diff-filter=A --find-renames=40%
oneline = log --pretty=oneline --since='2 days ago'
onelog = log -p -1
[color]
diff = auto
status = auto
branch = auto
ui = auto
[core]
editor = vim
excludesfile = ~/.gitignore
[credential]
helper = store
[http]
sslVerify = false