Sergi Pasoevi
Sergi Pasoevi

Reputation: 2851

Intellij (Android Studio) git integration: Where is .git?

I cloned my Android application project from a remote git repository. I'm developing this project in Android Studio. Have been managing version control on command line, and now trying to enable git integration on the IDEA interface. For this I clicked "Integrate Project" in VCS menu. But it seems to have ignored the .git directory and created a new one somewhere else (where?).

How do I "point" Android studio to the .git which is located in the root directory of my project?

Upvotes: 3

Views: 4150

Answers (1)

Andrew Gable
Andrew Gable

Reputation: 2752

You should be able to click Android Studio > Preferences

pref

Under the Version Control tab there are many settings, including the add button.

vcs screen

You should get to this screen, where you can add your .git file.

git add

Upvotes: 10

Related Questions