How do I remove version tracking from a project cloned from git?

I want to remove all version tracking from a project's directory.

What is the correct method to do this?

Can I do a shell command such as:

rm -rf .git

from my projects directory or is there a way to do this as a Git command?

I used this project to learn Git and realize I made some mistakes early on in the project with moved, renamed and deleted files. I'd like to remove all Git tracking and start fresh with git init.



Read more here: https://stackoverflow.com/questions/4754152/how-do-i-remove-version-tracking-from-a-project-cloned-from-git

Content Attribution

This content was originally published by daustin777 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: