Configure Android Studio to use Bitbucket Git

Push or Clone your Android sources to and from Bitbucket in 5 easy steps, no plugin required. For the pictures bellow the Android Studio version is 1.5.1

PUSH NEW PROJECT TO BITBUCKET:

Step 1: Enable “Version Control Integration” and select the type of the repository:

shareToBibucket01shareToBibucket02

Step 2: Select your sources that you want to add to the version control and then commit changes

shareToBibucket03shareToBibucket04

Step 3: Add a comment and introduce the Author name like this:

authorName <authorEmail@yourEmail.com>

shareToBibucket05

Step 4: Introduce the URL and password of your Bitbucket repository:

shareToBibucket06shareToBibucket07

Step 5: Push changes to Bitbucket repository

shareToBibucket08

CLONE PROJECT FROM BITBUCKET:

Step 1: Start Android Studio and click “Check out project from Version Control”

cloneFromBitbucket01

Step 2: Enter the Bitbucket repository URL in the Git Repository URL

cloneFromBitbucket02

Step 3: Enter the local folder where to clone the repository

cloneFromBitbucket03

Step 4: Enter the Bitbucket repository password

cloneFromBitbucket04

Step 5: Click No when asked to open the project after the checkout

cloneFromBitbucket05

Advertisements

One thought on “Configure Android Studio to use Bitbucket Git

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s