全局设置
PS C:\workspace> git config --global user.name "FreeMan"
PS C:\workspace> git config --global user.email "[email protected]"
PS C:\workspace> git remote add origin https://gitee.com/wawhy/mountain.git
验证连接状态
git remote -v
git add . 添加所有文件到暂存区
git commit -m "提交描述" 提交到本地仓库
git push -u origin master 首次推送代码