大二下学期每日总结之第一次个人作业

今日学习了如何将Android studio的项目上传到github:

1.首先要安装git,然后配置git的属性

    1. git config --global user.email "you@example.com"  
    2. git config --global user.name "Your Name"

配置你注册github时的用户名和邮箱。

2.然后给android studio配置git   打开如下路径File->Settings->Version Control(展开)->git

3.接着就是配置github的信息,要填入你的邮箱或用户名以及密码。

有可能由于网络问题连接不到,可以到github官网在自己的设置里面申请一个token,利用token登录。

4.这样打开你要上传的工程,顶部菜单选择VCS->Import into Version Control->Share Project on GitHub就可以上传了。

原文地址:https://www.cnblogs.com/fengchuiguobanxia/p/14502059.html