Convert gitconfig to template for Windows/WSL support
This commit is contained in:
@@ -1,67 +0,0 @@
|
|||||||
[include]
|
|
||||||
path = ~/.delta/themes.gitconfig
|
|
||||||
[core]
|
|
||||||
excludesfile =
|
|
||||||
autocrlf = true
|
|
||||||
symlinks = true
|
|
||||||
fileMode = true
|
|
||||||
pager = delta --pager='less -R -F -X'
|
|
||||||
safecrlf = false
|
|
||||||
[user]
|
|
||||||
name = Riz Ashraf
|
|
||||||
email = reazul.ashraf@inseinc.com
|
|
||||||
[interactive]
|
|
||||||
diffFilter = delta --color-only
|
|
||||||
[delta]
|
|
||||||
features = collared-trogon
|
|
||||||
line-numbers = true
|
|
||||||
navigate = true
|
|
||||||
hyperlinks = true
|
|
||||||
hyperlinks-file-link-format = vscode://file/{path}:{line}
|
|
||||||
[diff]
|
|
||||||
colorMoved = default
|
|
||||||
tool = bc
|
|
||||||
guitool = bc
|
|
||||||
[difftool]
|
|
||||||
prompt = false
|
|
||||||
[merge]
|
|
||||||
conflictstyle = diff3
|
|
||||||
tool = bc
|
|
||||||
guitool = bc
|
|
||||||
[mergetool]
|
|
||||||
prompt = false
|
|
||||||
[credential]
|
|
||||||
helper = wincred
|
|
||||||
[safe]
|
|
||||||
directory = *
|
|
||||||
directory = C:/Users/reazul.ashraf
|
|
||||||
[difftool "bc"]
|
|
||||||
path = c:/Program Files/Beyond Compare 5/bcomp.exe
|
|
||||||
cmd = \"c:/Program Files/Beyond Compare 5/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
|
|
||||||
[mergetool "bc"]
|
|
||||||
path = C:/Program Files/Beyond Compare 5/BComp.exe
|
|
||||||
cmd = \"C:/Program Files/Beyond Compare 5/BComp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
|
|
||||||
[filter "lfs"]
|
|
||||||
smudge = git-lfs smudge -- %f
|
|
||||||
process = git-lfs filter-process
|
|
||||||
required = true
|
|
||||||
clean = git-lfs clean -- %f
|
|
||||||
[gui]
|
|
||||||
recentrepo = D:/jchangelog
|
|
||||||
[credential "https://bitbucket.ingg.com"]
|
|
||||||
provider = bitbucket
|
|
||||||
[http]
|
|
||||||
sslVerify = false
|
|
||||||
postBuffer = 157286400
|
|
||||||
[pull]
|
|
||||||
rebase = false
|
|
||||||
[fetch]
|
|
||||||
prune = false
|
|
||||||
[rebase]
|
|
||||||
autoStash = false
|
|
||||||
autosquash = false
|
|
||||||
updateRefs = false
|
|
||||||
[i18n]
|
|
||||||
filesEncoding = utf-8
|
|
||||||
[credential "https://gitea.rizaz.com"]
|
|
||||||
provider = generic
|
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
[include]
|
||||||
|
path = ~/.delta/themes.gitconfig
|
||||||
|
[core]
|
||||||
|
excludesfile =
|
||||||
|
autocrlf = true
|
||||||
|
symlinks = true
|
||||||
|
{{- if eq .chezmoi.os "windows" }}
|
||||||
|
fileMode = true
|
||||||
|
pager = delta --pager='less -R -F -X'
|
||||||
|
{{- else }}
|
||||||
|
pager = delta
|
||||||
|
{{- end }}
|
||||||
|
safecrlf = false
|
||||||
|
[user]
|
||||||
|
name = Riz Ashraf
|
||||||
|
email = reazul.ashraf@inseinc.com
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
[delta]
|
||||||
|
features = collared-trogon
|
||||||
|
line-numbers = true
|
||||||
|
navigate = true
|
||||||
|
hyperlinks = true
|
||||||
|
hyperlinks-file-link-format = "vscode://file/{path}:{line}"
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
tool = bc
|
||||||
|
guitool = bc
|
||||||
|
[difftool]
|
||||||
|
prompt = false
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
tool = bc
|
||||||
|
guitool = bc
|
||||||
|
[mergetool]
|
||||||
|
prompt = false
|
||||||
|
{{- if eq .chezmoi.os "windows" }}
|
||||||
|
[credential]
|
||||||
|
helper = wincred
|
||||||
|
[safe]
|
||||||
|
directory = *
|
||||||
|
directory = C:/Users/reazul.ashraf
|
||||||
|
[difftool "bc"]
|
||||||
|
path = c:/Program Files/Beyond Compare 5/bcomp.exe
|
||||||
|
cmd = "c:/Program Files/Beyond Compare 5/bcomp.exe" "$LOCAL" "$REMOTE"
|
||||||
|
[mergetool "bc"]
|
||||||
|
path = C:/Program Files/Beyond Compare 5/BComp.exe
|
||||||
|
cmd = "C:/Program Files/Beyond Compare 5/BComp.exe" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
|
||||||
|
[gui]
|
||||||
|
recentrepo = D:/jchangelog
|
||||||
|
{{- else }}
|
||||||
|
[safe]
|
||||||
|
directory = *
|
||||||
|
[difftool "bc"]
|
||||||
|
cmd = '/mnt/c/Program Files/Beyond Compare 4/bcomp.exe' "$(wslpath -aw $LOCAL)" "$(wslpath -aw $REMOTE)"
|
||||||
|
[mergetool "bc"]
|
||||||
|
cmd = '/mnt/c/Program Files/Beyond Compare 4/bcomp.exe' "$(wslpath -aw $LOCAL)" "$(wslpath -aw $REMOTE)" "$(wslpath -aw $BASE)" "$(wslpath -aw $MERGED)"
|
||||||
|
{{- end }}
|
||||||
|
[filter "lfs"]
|
||||||
|
smudge = git-lfs smudge -- %f
|
||||||
|
process = git-lfs filter-process
|
||||||
|
required = true
|
||||||
|
clean = git-lfs clean -- %f
|
||||||
|
[credential "https://bitbucket.ingg.com"]
|
||||||
|
provider = bitbucket
|
||||||
|
[http]
|
||||||
|
sslVerify = false
|
||||||
|
postBuffer = 157286400
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
||||||
|
[fetch]
|
||||||
|
prune = false
|
||||||
|
[rebase]
|
||||||
|
autoStash = false
|
||||||
|
autosquash = false
|
||||||
|
updateRefs = false
|
||||||
|
[i18n]
|
||||||
|
filesEncoding = utf-8
|
||||||
|
[credential "https://gitea.rizaz.com"]
|
||||||
|
provider = generic
|
||||||
Reference in New Issue
Block a user