git config

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
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[alias]
st=status
ci=commit
co=checkout
br=branch
di=difftool
mt=mergetool
[remote "origin"]
url = https://192.168.1.107/git/my-repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "usb"]
url = G:\\share_drive\\Other\\my-repo.git
fetch = +refs/heads/*:refs/remotes/origin/*

[diff]
tool = bc3
[difftool]
prompt = false
[difftool "bc3"]
#use cygpath to transform cygwin path $LOCAL (something like /tmp/U5VvP1_abc) to windows path, because bc3 is a windows software
#cmd = \"c:/program files/beyond compare 3/bcomp.exe\" "$(cygpath -w $LOCAL)" "$REMOTE"
cmd = \"C:/Software/Beyond Compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
[merge]
tool = bc3
[mergetool]
prompt = false
[mergetool "bc3"]
#trustExitCode = true
cmd = \"C:/Software/Beyond Compare 3/bcomp.exe\" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"

[user]
name = Forrest Wan
email = forestwwk@gmail.com
[http]
#proxy = http://proxy1.scig.gov.hk:8080
sslVerify=false
[https]
#proxy = http://proxy1.scig.gov.hk:8080
[credential]
helper = store