Skip to content

Commit

Permalink
new git config for wsl
Browse files Browse the repository at this point in the history
  • Loading branch information
codepuncher committed Mar 12, 2024
1 parent bf28935 commit 6fac713
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
24 changes: 17 additions & 7 deletions git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
email = [email protected]
signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6lhgN8pvPgXJpgr8e4vo6k0nwP4mI8zgQcYMvePPBCNy8zZHS9BTKHPy/EdwNrCKX87uv0HcJeIztCShfmu7OjvasO6zgNzaNTOPxmelm7osBIuGYyZYih33ruT11eK8/RfeDh81OZGzMmez+Szk+oK1mb32rZvBPZpu2iGRFu0Yxx3jWtY+Kn8kwZX1GrfGEAfd29qoJiQli0Ma6YQhpioPgO7ybL8TCEvmkQPlCvHHpPhebwII8I2nZyGVpuIZsVleJW+fUroGOPDJ3xBcAs18YTMnQa/RDfUl0zsC6ZYa0MqnXUC6INBmNSk/hwLTmeVYDXau4DOLC8OpIaFkz

[gpg]
format = ssh

[commit]
gpgsign = true

[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
Expand All @@ -28,20 +34,24 @@
autoSetupRemote = true

[core]
pager = delta
pager = delta
sshCommand = ssh.exe

[interactive]
diffFilter = delta --color-only
diffFilter = delta --color-only

[delta]
navigate = true
light = false
navigate = true
light = false

[merge]
conflictstyle = diff3
conflictstyle = diff3

[diff]
colorMoved = default
colorMoved = default

[includeIf "gitdir:/home/itineris/"]
path = ~/.dotfiles/git/users/wsl.gitconfig

[includeIf "gitdir:/home/work/"]
path = ~/.dotfiles/git/users/work.gitconfig
path = ~/.dotfiles/git/users/work.gitconfig
4 changes: 0 additions & 4 deletions git/users/work.gitconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[gpg]
format = ssh
[gpg "ssh"]
program = /opt/1Password/op-ssh-sign
[commit]
gpgsign = true
2 changes: 2 additions & 0 deletions git/users/wsl.gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[gpg "ssh"]
program = "/mnt/c/Users/LeeHanbury-Pickett/AppData/Local/1Password/app/8/op-ssh-sign-wsl"

0 comments on commit 6fac713

Please sign in to comment.