git init
git add *
git commit -m "first commit"
git remote add origin https://github.com/studyDevin/company-maiyecode.git
git push -u origin master
git config --global user.name 'devin' // 配置用户名,引号里面的用户名可自定义
git config --global user.email '2696700220@qq.com' // 配置Email,引号的Email可自定义
git push -f origin master //不管版本就上传
本文详细介绍使用Git进行项目初始化、文件添加、提交、远程仓库连接、推送代码等基础操作流程,适合初学者快速上手。
626

被折叠的 条评论
为什么被折叠?



