# HelloGit **Repository Path**: wsske/HelloGit ## Basic Information - **Project Name**: HelloGit - **Description**: 远端克隆到本地 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.配置全局变量 ``` git config --global user.name "wsske"` git config --global user.email "327179018@qq.com" ``` 2.创建仓库 本地推到远端 ``` mkdir learngit cd learngit git init touch README.md 创建md文件 git add README.md 将当前目录所有文件添加到git暂存区 git commit -m "first commit" #提交并备注提交信息 git remote add origin https://gitee.com/wsske/learngit.git git push -u origin master 推送到远端 ``` 3.远端仓库克隆到本地 ``` git clone https://gitee.com/wsske/HelloGit.git #将远程仓库克隆到本地 ```