# AndroidStudioTest **Repository Path**: 8Gpc/AndroidStudioTest ## Basic Information - **Project Name**: AndroidStudioTest - **Description**: 学习git,使用android studio. - **Primary Language**: Android - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-03-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #AndroidStudioTest #学习git的使用 ##在Android Studio中使用vcs的方法: 1.启动VCS; 2.将项目中的文件添加如git中; 3.选择commit directory,签入第一次版本,此时git会自动创建一个默认分支master; 4.使用命令行git remote add 别名 远端服务器地址 添加远程仓库; 5.选择Push命令完成同步. ##可能遇到的问题: 本地版本与远端版本不一致,服务器为防止推入旧版本,需要用户获取最新版本进行合并处理来解决冲突。 使用git pull 或是 git fetch; git merge 别名/branch.