-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Description
Related to: #233
This is a more specific request to add a new conditional include keyword in includeIf conditions that matches the hostname.
A common usage would be for dotfiles, for which the current approach using git requires separate branches and rebase.
Example:
[includeIf "hostname:FIRSTMACHINE"]
path = /path/to/firstmachineconfig.inc
[includeIf "hostname:SECONDMACHINE"]
path = /path/to/secondmachineconfig.inc
Originally posted by @diogo-rossi in gitgitgadget/git#1665
HIGDAWGG