git 初次提交


前提:已经关联了ssh到本地,不用再输入用户名和密码

知道仓库地址:https://xxx.xxx.com/aiotcloud/yihao01-node-js.git

第一步:进入本地文件夹执行

git init

第二步:提交本地文件

git add .
git commit -m "第一次提交"

第三步:添加到远程仓库

git remote add origin https://xxx.xxx.com/aiotcloud/yihao01-node-js.git

第四步:push

git push -u origin master

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM