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