1. 先安装git
2. 注册一个github账号
3. 新建一个项目
3. 打开git 运行以下命令:
cd /d/workspace (切换目录到 d盘的workspace) git init (初始化git) git remote add origin https://github.com/OnePieceForFreedom/boxing (连接github的一个项目) git pull origin master (下载项目)
4. 为了方便使用git建议把用户名密码配置好。以后就省的输入密码了:
git config --global user.name "test"
git config --global user.email [email protected]