remove .git folder windows

If you just downloaded stuff from a git repository, chances are that you will want to remove the .git folder (which is a hidden item by the way) from your local repository folder. The reason you might want to do that is because if you ever decide to push the downloaded repo back to say github for instance, you will not encounter any funny errors.

So to remove the .git folder from your local repo,

  • navigate to the folder (i.e the folder you just downloaded from the repo) and once there,
  • click on view on the menu item
  • click on show hidden items
  • and then look for .git folder and delete it

It is that simple.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like