如何对现有的Andr​​oid

如何对现有的Andr​​oid

本文介绍了如何对现有的Andr​​oid Studio项目连接到现有的Github上库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我是新开发的Andr​​oid和Android工作室。

So I am new to Android development and Android Studio.

我用的Andr​​oid Studio来创建一个Android项目,每一次我想提交code到GitHub上,我切换到命令行,并承诺/推code从那里。

I used Android Studio to create an Android project, and each time I wanted to commit the code to GitHub, I switched over to the command line and committed/pushed the code from there.

不过,我现在认识到机器人工作室都有它自己的特点,用于连接到GitHub上。我想使用这些功能。

However, I realize now that Android Studio has it's own features for connecting to GitHub. I'd like to use those features.

由于该项目已经存在,我preFER不只是创建从Android的工作室新GitHub的资源库,并删除旧的。我只是想借助Android Studio项目连接现有的GitHub的资源库。

Since the project already exists, I prefer not to just create a new GitHub repository from Android Studio and delete the old one. I just want to connect the existing GitHub repository with the Android Studio project.

我如何可以同步这些了?

How can I sync these up?

推荐答案

我想,如果你想创建一个新的项目查看​​该线程。

I would view this thread if you want to create a new project.

How你同步项目Github上与Android工作室?

如果这不帮助,然后我就只是删除当前(本地)项目并导入从github上。

If this doesn't help then I would just delete your current(local) project and import from github.

http://teamtreehouse.com/library/android-tools/git/pulling-down-github-projects-to-android-studio

我会建议住在命令行。这是伟大的实践。查看下面的详细信息的链接。

I would recommend staying with command line. It is great practice. View link below for more information.

http://programmers.stackexchange.com/questions/173297/why-learn-git-when-there-are-gui-apps-for-github

这篇关于如何对现有的Andr​​oid Studio项目连接到现有的Github上库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 11:41