从github 下载项目 , 并且提交
来源:互联网 发布:新顶级域名有哪些 编辑:程序博客网 时间:2024/06/04 23:15
Part 1: Cloning the Project
Step 1 – Load Android Studio and select Check out project from Version Control
Step 2 – Select GitHub from the drop down list
Step 3 – Enter your GitHub credentials. Then click Login
Step 4 – Fill out the Clone Repository form and click Clone
Fill out the following items:
- Vcs Repository URL: The URL of your repository on GitHub
- Parent Directory: The local directory where you want to store this project
- Directory Name: The name of your project
Step 5 – Open the project
You will be prompted with a message asking you would like to open the project in Android Studio. Click Yes.
The project will now open in Android Studio:
Part 2: Committing Changes to GitHub
Now that we have checked out and opened the project, this next part explains how to commit changes.
Step 1 – Enable Version Control Integration
From the top bar select VCS > Enable Version Control Integration
Then select Git from the dropdown box
Step 2 – Make a change to the project
Make any change, for the purpose of this tutorial I simply modified the strings.xml file to change the “Hello World!” text to read “Hello London App Developer!”.
Step 3 – Commit the change
On the top right hand side of Android Studio, right click the project name, select git and chooseCommit Directory
In the Commit Changes screen, ensure all the files are checked and type a Commit Message. Then click Commit to commit your changes.
Next you will see the below message:
Step 4 – Push your changes to GitHub
Next, select the project name in the top left corner, then choose Git > Repository > Push.
When you see the Git Push screen, click Push.
If this works, you will see the Push successful message.
- 从github 下载项目 , 并且提交
- 从github上下载项目
- 从eclipse中提交项目至github
- 从本地提交项目到github上
- Eclipes下载并且导入GitHub中的maven项目
- 从github下载项目到本地
- 从github下载项目到本地
- 关于怎么从Github上下载项目
- 从github下载WDK项目的坑
- github之从创建账号到本地提交项目
- 从0开始,把自己项目提交到github
- Github使用之将已有项目提交到Github/从Github上pull到本地
- 两种方式将Eclipse中的项目生成git并且提交到github上面
- Github上怎么修改别人的项目并且提交给原作者!图文并茂!
- Github上怎么修改别人的项目并且提交给原作者!图文并茂!
- 提交项目到gitHub
- gitHub提交项目总结
- github 提交项目
- 12 个非常实用的 jQuery 代码片段
- Android开发之如何保证Service不被杀掉
- 笔记
- ORACLE隐含列
- iOS判断CLLocationCoordinate2D对象是否可用
- 从github 下载项目 , 并且提交
- 欢迎使用CSDN-markdown编辑器
- MySQL 5.7.9 免安装配置
- LeetCode--Add Digits
- windows8下iis7配置网站遇到的问题
- Eclipse启动Tomcat时45秒超时解决方法
- POI读取Excel2013
- mysql 远程账户
- How do I get started with CUDA?