VScode本地上傳到服務器


1.git init //初始git
2.git clone http://xxxx/vosa-element-config.git //克隆項目
3.git remote add origin http:/xxxx/vosa-element-config.git //連接遠程項目
4.git branch --set-upstream-to=origin/master master //本地代碼映射主線
5.git pull origin master --allow-unrelated-histories //允許本地和主線建立關系
6.git remote //查看映射結果
7.git push origin master //推送 (git push -u origin master)將本地項目更新到項目上去

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM