Reputation: 105
All of the results I find say that the local repository is in a folder called ".git", and that this folder can be found within the working directory folder. However, I have no such folder. I've done a search and apparently there is no .git folder on my entire PC.
Context: I have been using the git CLI on my Windows 10 laptop to manage a repository that is stored on Github. To push my changes, I always do the following:
git add .
git commit -m "lorem ipsum"
git push origin master
This seems to be working, as I see my work on Github, and I have been able to revert local changes using
git reset --hard
Any suggestions are greatly appreciated.
Upvotes: 3
Views: 17536
Reputation: 17624
This should show you the hidden .git folder
Upvotes: 2
Reputation: 1766
.git is a hidden folder. You will need to view hidden folders in your OS of choice to see it.
On Windows:
This should show you the hidden .git folder
Upvotes: 9