您的位置:首页 > 移动开发 > Android开发

Android studio 和Git工具使用

2016-05-23 11:25 639 查看
如何在github上创建一个Android studio项目

1. 首先,登陆到Github上并创建一个新repository。在屏幕右上角,点击“+”标记,并且选择“New repository”。




2.在Android studio 上新建一个项目

3.在Android studio上,在顶部标题栏里,选择VCS > Import into Version Control >Create Git Repository。



4.选择 个新建的项目根目录



5. 现在使用Windows的资源管理器导航到该项目的根目录。右键单击并选择Git Bash(如果你没有这个选项,那么首先需要安装 Git for Windows)。

依次输入如下命令:

git remote add origin https://github.com/lengqi19860101/LQApp.git

git push -u origin master

输入git 用户名和密码就ok了。

6.现在可以在github上就可以看到自己刚刚建的项目了。

参考链接:http://www.2cto.com/kf/201509/441060.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: