How to remove git tracking from your project repo (.git folder) π ββοΈ
THANKS π: I appreciate the many claps most my readers leave because it takes me a long time to write these free articles.
Okay, you want to remove git tracking from a project repo and make it track a new repo. How do you do this?
Itβs easier than it sounds:
0.) Navigate to your project folder in the terminal:
cd [projectName]
1.) Remove the .git folder to remove all tracking
WARNING: MAKE SURE to do this at your own risk and type everything below correctly! If you donβt write the .git part it will erase everything in the folder you ran this in! β οΈβ οΈβ οΈ
rm -rf .git
And Wala you are done! π
I hope this helps and tell me if you have any questions. π