Skip to content

[ISSUE]: init cannot find the .git directory #4221

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

Closed
2 tasks done
GuidDotEmpty opened this issue Sep 23, 2024 · 1 comment
Closed
2 tasks done

[ISSUE]: init cannot find the .git directory #4221

GuidDotEmpty opened this issue Sep 23, 2024 · 1 comment

Comments

@GuidDotEmpty
Copy link

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

  1. Create an empty folder and open it
  2. Start a new command promt in the newly created folder
  3. Run git init
  4. 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
@arturcic
Copy link
Member

gitversion init was removed in version 6 #3899

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