Uninitialize git repository -


i have initialized git repository , have made commit in reason not want track files in , want git going out of it. there way can uninitialize it?

git stores repository related data in folder named ".git" inside repository folder. want keep files change "not-git-repository". warning: irreversible!

cd path/to/repo rm -rf .git 

the files might remain hidden ".gitignore" files (but if added them or using tool eclipse). remove them:

find . -name ".gitignore" | xargs rm 

Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -