学习日志
git使用
安装
PC window下载官网:https://git-for-windows.github.io/
下载链接:
https://github-cloud.s3.amazonaws.com/releases/23216272/7defa9d6-1a28-11e7-8fc3-f378aa752865.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170419%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170419T072746Z&X-Amz-Expires=300&X-Amz-Signature=cfe1daa34e516ef16ad264062cc6ea15bfa691efbcd97d192e74b0aaccb7b098&X-Amz-SignedHeaders=host&actor_id=8621991&response-content-disposition=attachment%3B%20filename%3DGit-2.12.2.2-64-bit.exe&response-content-type=application%2Foctet-stream
文件名:
Git-2.12.2.2-64-bit.exe
通过命令查看git版本
git version
git version 2.11.0.windows.1
检出github上的项目到本地
安装git后
打开到要检出到的目录G:\AndroidStudioProjects20170410\demo,右键选择Git Bash Here菜单项,在弹出的git命令行输入 git clone https://github.com/***/*.git
当Resolving deltas: 100% (1489/1489), done.即为检出完成,再用AS工具打开Android项目。