Reputation: 6703
Enabling the version control and connecting it to the user account in android studio creates new repository on github for each project and pushes the project to it by default. However, I would like to know if there is a way to setup Android Studio to upload the project to specific folder in already existing repository on github?
Upvotes: 1
Views: 2199
Reputation: 89
Clone the project on your pc.
git clone repo-url
Now create the required folder (and add files which you want in that folder) inside the repository you cloned on your pc.
Upvotes: 1
Reputation: 146
As mentioned in the comments, you have to move all your files to that specific folder and commit & push that folder.
You can not commit & push files into something, that is not the idea behind Git. It's mostely about Version Control
Upvotes: 1