Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Related to: #233 #34554

Closed
HIGDAWGG opened this issue Jan 24, 2025 · 2 comments
Closed

Related to: #233 #34554

HIGDAWGG opened this issue Jan 24, 2025 · 2 comments

Comments

@HIGDAWGG
Copy link

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
Copy link
Author

@guardrex
Copy link
Collaborator

Thanks @HIGDAWGG ... Please re-open this issue using the Open a documentation issue link/feedback form at the bottom of the article. Use of the form adds metadata to your GitHub issue that cross-links the topic and pings the author automatically for a faster response.

I think this is for ...

https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/authoring

Scroll to the bottom of that article and click the Open a documentation issue link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants