…or create a new repository on the command line
echo # test1 >> README.md
git init
git add README.md
git commit -m “first commit”
git remote add origin https://github.com/keyeechen/test1.git
git push -u origin master…or push an existing repository from the command line
git remote add origin https://github.com/keyeechen/test1.git
git push -u origin master
github最快速入门(最关键的语句)
GitHub项目创建与推送指南
最新推荐文章于 2022-12-09 10:20:03 发布
本文详细介绍如何通过命令行在GitHub上创建新的代码仓库并进行首次提交,同时也讲解了如何将已存在的本地仓库推送到GitHub远程仓库的过程。
1351

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



