Jan Tuomi · Dec 21, 2024
Path-conditional config and SSH key signing in `git`
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Today I learned about two recent-ish Git features. Conditional configs Since Git version 2.13, it is possible to use different Git configurations based on values such as the current branch, or what's useful in my use case, path prefix: # File: .gitconfig [includeIf "gitdir:~/Projects/Work/" ] path = .gitconfig-work 🔗 includeIf in Git documentation I personally use separate Git…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.