Using Git on Android Studio (IntelliJ IDEA)

Android Studio also supports DVCS (Distributed Version Control System) with Bitbucket Plugin. (Bitbucket is a free code DVCS hosting site for Git and Mercurial. Manage your development with a hosted wiki, issue tracker and source code). I choose Bitbucket because a free GitHub(Another famous DVCS) account doesn't include any private repositories whereas Bitbucket free account gives you unlimited private repositories.

If you want to know more about Distributed Version Control System

DVCS can help you to easily store each version of your code. So when your latest version of code collapse you may decide to go back to the previous version of your code rather than try to fix the collapses code. There are also very good to coding with others.Furthermore, Android Studio provides an ability to compare each version of code.

Installation :
First you need to create account at
Then install Bitbucket plugin in Android Studio and enter your user name and password of your bitbucket account.
Now try to commit with the comment for each commit.The commit will create local revision.
Or commit and push which will upload to the bitbucket server.
Before commit you can let Android Studio to Reformat code,Optimize Import,Perform Code Analysis,Check Todo and Update copy right.

If you already have your own project you may need to use turtoiseGit to push your project to Git repository server. If you found error you may use turtoiseGit to checkout project from bitbucket.

If you have any question or suggestion please leave your comment below. :)

Distributed Version Control Systems Code Hosting

Converting Subversion to Git with History

Comparing the pros and cons of Bitbucket to Github,

Popular posts from this blog

เทคนิค ชนะ เกมเศรษฐี 14 ตารวด!!! ( Let's get Rich )

Using Google Chrome Inspect Element to Analyze the website

Easy way to download whole youtube play list and convert them to mp3