Support for git worktrees
awinki opened this issue · 2 comments
awinki commented
Description
I use git worktrees a lot on my machine, but i can't use our nuke build script to build our solutions. I always get the following error:
Unhandled exception. System.ArgumentException: No parent Git directory for 'D:\Development'
at Nuke.Common.Assert.NotNull[T](T obj, String message, String argumentExpression) in /_/source/Nuke.Utilities/Assert.cs:line 73
at Nuke.Common.Git.GitRepository.FromLocalDirectory(AbsolutePath directory) in /_/source/Nuke.Build/VCS/GitRepository.cs:line 49
Instead of a ".git" folder there's just ".git" file, when working with git worktrees.
Usage Example
No response
Alternative
No response
Could you help with a pull-request?
No