android studio 使用[email protected]
android studio 使用[email protected]
1.下载安装git http://msysgit.github.io/
2.打开as,新建一个项目。这一步就不多说了。
3.新建一个git仓库,选择create git repository。
4.打开项目路径,如果没有发现项目有一个隐藏文件夹“.git“
那么就git init here
5.添加所有文件到git
6.在打开git gui
然后输入帐号,密码
7.从远端获取,可以参考上面的图片。要获取远程分支,才能把本地分支合并到远程分支。
8.合并本地分支 。
9.点击远端,上传。
中途要输入好几次帐号,密码。
10.到你的项目主页,看一下是否提交成功
转载于:https://my.oschina.net/u/581142/blog/471382