forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig (Linux)
28 lines (19 loc) · 1.09 KB
/
.gitconfig (Linux)
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
[core]
# Tell Git to convert CRLF to LF on commit but not the other way around
# Note: We are using (global) .gitattributes files to specify end-of-line
# conversions, and therefore this setting will never be relevant!!!
autocrlf = input
[alias]
d = difftool -y --no-symlinks
[credential]
# See https://stackoverflow.com/questions/13385690/how-to-use-git-with-gnome-keyring-integration
#helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
# gnome keyring not working...use this less safe method where pwd is saved in clear text
helper = store --file ~/.my-credentials
[difftool "bcomp"]
trustExitCode = true
# we are changing the /mnt/c into C: via 'echo' and 'sed' commands (/mnt/c --> C:)
# CMD does not support UNC paths as current directories, and therefore we cannot map to P9-server UNC path
path = "/mnt/c/Program Files/Beyond Compare 4/BCompare.exe"
cmd = \"/mnt/c/Program Files/Beyond Compare 4/BCompare.exe\" -expandall \"`echo $LOCAL | sed 's_/mnt/c_C:_'`\" \"`echo $REMOTE | sed 's_/mnt/c_C:_'`\"
#cmd = "echo $LOCAL; echo $REMOTE"