Skip to content

Unable to create a local repository in GIT #23382

Discussion options

You must be logged in to vote
bharatbondada:

Yes, I was using the command git init from the git bash.

Initialized empty Git repository in C:/ShreyasBKR_Project/.git/

But unable to view the .git folder.

I have checked for invisible folders also.

There’s something strange here, you mention the path being C:/ShreyasBKR_Project/.git/, but the presence of a .git/ folder indicates that ShreyasBKR_Project/ is already a repository.

bharatbondada:

But unable to view the .git folder.

But you’re mentioning it in the path. That’s the Git folder.

You should try this: navigate in Bash or CMD to C:/ShreyasBKR_Project/ and type:

git status

this will give you either information about the repository status, or an error that …

Replies: 3 comments 2 replies

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Vicky8180
Comment options

@tajmone
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants