1、进入当前项目文件夹下,然后 $git init
2、$git add . //添加所有
3、$git commit -m "注释"
4、$ git config --global user.name "your name"
5、 $ git config --global user.email "your_email@youremail.com"
6、$ git remote add origin git@github.com:yourName/yourRepo.git
7、$git push -u origin master //将项目推上去
将文件推到Github上(不配置ssh)
最新推荐文章于 2023-03-05 17:43:57 发布