Android studio提供git插件让咱能够进行版本控制篇blog展示何使用(操作系统win7)
1.准备载windowgit 载址 ;studio设置git插件:File->Setting->Version Control->Git, 点击Test测试图:设置功
2.初始化git项目(git init)操作:VCS->Enable Control Integration->Select "Git".
3.git添加remote步studio没咱提供视化GUI用Git工具找并打git安装目录面Git Bash目录切换项目目录输入git添加remote命令例:git remote add origin "https://githubcom/xxx/xxx.git".
4.代码添加VCS(git add),选要提交文件->VCS->Git->Add,
5.提交变化(git commit),VCS->Commit Changes,图提交候选择Commit and Push,直接push服务器
6.Git PushVCS->Git->Push.
要clone projectstudio