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

[Solved] Error when executing git command. fatal: not in a git directory #58

Open
CG-Tespy opened this issue Sep 21, 2023 · 3 comments
Open
Assignees

Comments

@CG-Tespy
Copy link

I tried installing this both manually and through the Package Manager, and each time, I received these errors:

[Package Manager Window] Error adding package: https://github.com/RealityStop/Bolt.Addons.Community.git.
Unable to add package [https://github.com/RealityStop/Bolt.Addons.Community.git]:
Error when executing git command. fatal: not in a git directory

An error occurred while resolving packages:
Project has invalid dependencies:
dev.bolt.addons: Error when executing git command. fatal: not in a git directory

If it helps, I'm using Unity 2022.3.9f1

@S2NX7
Copy link
Collaborator

S2NX7 commented Sep 21, 2023

Do you have Git installed on your pc?

@S2NX7 S2NX7 self-assigned this Sep 21, 2023
@S2NX7
Copy link
Collaborator

S2NX7 commented Sep 21, 2023

I tried installing this both manually and through the Package Manager, and each time, I received these errors:

[Package Manager Window] Error adding package: https://github.com/RealityStop/Bolt.Addons.Community.git.
Unable to add package [https://github.com/RealityStop/Bolt.Addons.Community.git]:
Error when executing git command. fatal: not in a git directory
An error occurred while resolving packages:
Project has invalid dependencies:
dev.bolt.addons: Error when executing git command. fatal: not in a git directory

If it helps, I'm using Unity 2022.3.9f1

Make sure you use this link : https://github.com/RealityStop/Bolt.Addons.Community.git

@CG-Tespy
Copy link
Author

Turns out that the error happened due to the file system the project was on: exFat. After formatting the hard drive to use NTFS, I was able to install this asset package just fine

@CG-Tespy CG-Tespy changed the title Error when executing git command. fatal: not in a git directory [Solved] Error when executing git command. fatal: not in a git directory Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants