Git
Host Key Verification
Useful for Jenkins:
ssh git@git.assembla.com
Per-directory configuration
Use conditional includes to set per-directory config for work:
~/.gitconfig:
[includeIf "gitdir:~/Developer/Work/"]
path = .gitconfig-work
~/.gitconfig-work:
[user]
name = My Name
email = work@example.com
From https://github.com/blog/2360-git-2-13-has-been-released
Official documentation: https://git-scm.com/docs/git-config#_includes
Last updated
Was this helpful?