I copied a folder which is linked to a git repository control but the copied folder is also linked to the git repository how can I stop linking it to be just a normal folder in my pc ?
Asked
Active
Viewed 91 times
1
-
2possible duplicate of [git - how to remove git tracking from a project?](http://stackoverflow.com/questions/4754152/git-how-to-remove-git-tracking-from-a-project) – nwinkler Sep 11 '15 at 08:25
1 Answers
1
Just remove the .git directory from parent folder
rm -rf .git/
Or, you could even use
find . | grep .git | xargs rm -rf

Abimaran Kugathasan
- 31,165
- 11
- 75
- 105