1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

Update gitconfig, dir specific config, custom agent script for signing

This commit is contained in:
Holger Just 2025-02-01 14:41:22 +01:00
parent 3a62614066
commit 5226a3cc3a
No known key found for this signature in database
4 changed files with 28 additions and 19 deletions

View File

@ -12,33 +12,34 @@
su = submodule update --recursive --init su = submodule update --recursive --init
# https://stackoverflow.com/a/7149602/421705 # https://stackoverflow.com/a/7149602/421705
addnw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero' - addnw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero' -
[user] [branch]
name = Holger Just autosetupmerge = true
email = hello@holgerjust.de autosetuprebase = always
[core]
autocrlf = false
excludesfile = ~/.gitignore_global
[color] [color]
branch = auto branch = auto
diff = auto diff = auto
grep = auto grep = auto
interactive = auto interactive = auto
ui = auto ui = auto
[push]
default = tracking
recurseSubmodules = check
[core]
autocrlf = false
excludesfile = ~/.gitignore_global
[github] [github]
user = meineerde user = meineerde
[credential] [fetch]
helper=osxkeychain fsckobjects = true
[branch]
autosetupmerge = true
autosetuprebase = always
[http] [http]
postBuffer = 524288000 postBuffer = 524288000
[fetch] [push]
autoSetupRemote = true
default = upstream
recurseSubmodules = check
[receive]
fsckobjects = true fsckobjects = true
[transfer] [transfer]
fsckobjects = true fsckobjects = true
[receive]
fsckobjects = true [include]
path = ~/.gitconfig_holgerjust.de
[includeIf "gitdir:~/workspace/planio/"]
path = ~/.gitconfig_plan.io

3
.gitignore vendored
View File

@ -1 +1,2 @@
/.vim/sessions /.vim/sessions
/.gitconfig_*

View File

@ -28,7 +28,11 @@ namespace :install do
end end
files :irb, ".irbrc", ".config/irb/*.rb" files :irb, ".irbrc", ".config/irb/*.rb"
files :dot, *%w[.bash_profile .bashrc .gemrc .gitignore_global .gitconfig .ackrc .rvmrc.dotfile]
dot_files = %w[bin]
dot_files += %w[.bash_profile .bashrc .gemrc .gitignore_global .ackrc .rvmrc.dotfile]
dot_files += %w[.gitconfig .gitconfig_holgerjust.de .gitconfig_plan.io]
files :dot, *dot_files
files :vim, *%w[.vim .vimrc] files :vim, *%w[.vim .vimrc]
end end

3
bin/strongbox-ssh-keygen Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
export SSH_AUTH_SOCK="${HOME}/.ssh/strongbox/agent.sock"
exec ssh-keygen "$@"