git github android-studio 各种使用,最详细,最新
导读
- android studio中git、github配置
- android studio上传整个项目
- android studio更新
- 使用git下载github项目
- github下载慢解决
需要理解:
github ≠ git
Android studio提交git成功 ≠ 提交github成功
各软件版本
Git安装
改了安装路径,其他都是一直下一步
配置
- android-studio中github配置
- 登录成功
- android-studio 中git程序配置
android-studio上传本地项目到github
这个时候就可以在github上面看到自己托管的代码了,假如github上面没有文件,请执行下图步骤。
同步代码:下图
android-studio 提交代码
此时提交git后,代码并没有同步github,需要将git的代码推到github,请执行上面图:同步代码
android-studio更新代码
git 下载github代码到文件夹中
可能出现下载超时,需要手动修改host文件,具体操作
修改提交作者
android studio 右下角,单击Git:master
可能遗漏
git dos窗口 会弹出输入账号密码
android studio也可能需要输入账号密码
github需要创建用户相关信息,需要在github建全相关个人资料