集成的Visual Studio在线Git仓库到Android 1.0.2工作室 [英] Integrate Visual Studio online Git Repository to Android Studio 1.0.2

查看:193
本文介绍了集成的Visual Studio在线Git仓库到Android 1.0.2工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Visual Studio在线为我的发展过程。我想我的整合Android的工作室1.0.2 codeS在里面。不过,我知道Android的工作室没有TFS插件。这就是为什么,我想使用的Git源控制。

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.

如何整合Visual Studio的在线Git仓库到Android 1.0.2工作室。什么是我应该遵循的步骤?

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

推荐答案

首先,您需要创建在Visual Studio在线团队项目配置为使用Git的,因为它的源代码控制库:

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

所以,登录到您VSO帐户(或创建一个,如果你没有一个尚未):

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

从仪表板创建一个新项目:

Create a new project from the dashboard:

在新建项目向导,来了,一定要选择使用git的:

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

等待要创建的项目,然后单击<大骨节病>导航到项目当它这样做。在项目的仪表盘导航到code标签:

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:

而code选项卡上,你会发现你的新的Git仓库。

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

您还可以得到一个通知,您必须启用基本凭据,以便混帐可以连接(GIT不支持连接到Microsoft帐户/的Windows Live ID直接)。如果你还没有这样做,现在是一个好时机。

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:

和配置基本凭据:

现在你就可以连接到Android Studio和基于Visual Studio在线打开的Git回购:

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

输入强调仓库页面上之前的Git仓库的位置:

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

和您的备用凭证,你已经定义了它们。

And your Alternate Credentials as you had defined them.

Android的Studio现在会问你是否想在这里创建一个项目。如果选择是,你所有的设置,可以开始你的新项目。

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.

这篇关于集成的Visual Studio在线Git仓库到Android 1.0.2工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆