1

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 ?

user5324426
  • 693
  • 1
  • 5
  • 12
  • 2
    possible 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 Answers1

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