Integrate Visual Studio online Git Repository to Android Studio 1.0.2

I am using Visual Studio online for my development process. And I want to integrate my Android Studio 1.0.2 codes in it. However, as I know Android Studio has no TFS Plugin. That’s why, I want to use Git for source control.

How can I integrate Visual Studio Online Git repository to Android Studio 1.0.2. What are the steps that should I follow?

  • GIT/VSO: Only share a subset of repo
  • Git Merge Workflow
  • How to synchronize VSTS and Github respositories when commits are made
  • Connect to git repo on Visual Studio Online
  • How do I move a Project from TFS to Git in Visual Studio Online?
  • Visual Studio Online, sharing work items, using both Git & TFVC
  • VSTS build failed with Git fetch failed with exit code: 128
  • Creating Git branch tag in VSO or VS2015
  • One Solution collect form web for “Integrate Visual Studio online Git Repository to Android Studio 1.0.2”

    First you need to create a Team Project in Visual Studio Online that is configured to use Git as it’s Source Control Repository:

    So, log on to you VSO account (or create one if you don’t have one yet):

    enter image description here

    Create a new project from the dashboard:

    enter image description here

    In the “New Project Wizard” that comes up, make sure you select the use of Git:

    enter image description here

    Wait for the project to be created and click Navigate to Project when it’s done. In the project’s dashboard navigate to the Code tab:

    enter image description here

    And on the code tab you’ll find your fresh Git repository.

    enter image description here

    You also get a notification that you must enable Basic Credentials so that git can connect (git doesn’t support connecting to the Microsoft Account/Windows Live ID directly). If you haven’t done so, now would be a good time.

    Open your profile to set that up:

    enter image description here

    And configure Basic Credentials:

    enter image description here

    Now you’re ready to connect to Android Studio and open your Git repo on Visual Studio Online:

    enter image description here

    Enter the Git repository location that was highlighted on the repository page before:

    enter image description here

    And your Alternate Credentials as you had defined them.

    Android Studio will now ask you whether you want to create a project here. If you choose yes, you’re all setup to start on your new project.

    If you choose no, you can move an existing project into the repository root you just created and commit and push it.

    Git Baby is a git and github fan, let's start git clone.