github原文:
Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/chenfushan/raspberry.git
git push -u origin master
Push an existing repository from the command line
git remote add origin https://github.com/chenfushan/raspberry.git
git push -u origin master
很简单~
本文提供了两种在GitHub上推送项目的命令行方法:创建新仓库并推送以及将现有仓库推送到GitHub。通过简单的步骤指导用户完成从初始化仓库到推送代码的全过程。
&spm=1001.2101.3001.5002&articleId=38060487&d=1&t=3&u=7dc129038ed64e989147533663c7f7ad)
1031

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



