-
Notifications
You must be signed in to change notification settings - Fork 662
Closed
Labels
Description
Prerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
GitVersion package
GitVersion.Tool
GitVersion version
6.0.2 6.0.2+Branch.main.Sha.30211316bc16e481dc440baae39ff904c4fa4966
Operating system
Windows
What are you seeing?
When running the command gitversion init in a repo i get the text
Cannot find the .git directory
What is expected?
I would expect to see output where i can setup my gitversion config
Steps to Reproduce
- Create an empty folder and open it
- Start a new command promt in the newly created folder
- Run
git init - Run
gitversion init
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
PS C:\Temp\sdsd> git init
Initialized empty Git repository in C:/Temp/sdsd/.git/
PS C:\Temp\sdsd> gitversion init
Cannot find the .git directory
PS C:\Temp\sdsd> gitversion /version