How to delete a local repository in AndroidStudio so that as a result there is no trace of it (the logs of all my commit files have been deleted). Thank.

  • and the files should remain? - Mikhail Vaysman
  • Yes. I want to leave the project as it was before being added to the repository local. - Viktor Vdovichenko

1 answer 1

  1. In Studio, open Settings -> Version Control. Delete the repository entry. Close Studio.
  2. Delete the .git directory. It stores everything about the repository.
  3. Run Studio again.
  • Yes. thank. folder. git hidden. deleted it and got the desired result. And now I'm doing again in android studio: VCS | Import into Version Control | Create Git Repository and get VCS root configuration problems - Viktor Vdovichenko
  • I added information in response - Mikhail Vaysman
  • Thank you very much. It worked! - Viktor Vdovichenko