git:webstorm提交項目到碼雲

1.碼雲創建項目

2.webstorm【以下簡稱ws】

   2.1 ws中VCS 選擇【import into Version control】-->【Create Git Repository...】-->選擇要上傳的項目

   2.2右擊項目(或要上傳的文件夾/文件)【git-->add】

   2.3【git-->commit directory】提交添加的文件

   2.4【Commit Message】添加提交描述

   2.5【Commit】提交

   2.6【pull】操作:提交之後,右擊項目,選中【git-->repository-->push】

   2.7複製碼雲上的HTTPS開頭的路徑,點擊Define remote(定義遠程)

   2.8【git-->pull】:①點擊刷新 ②origin/master

   2.9項目目錄【GitBush】【pull/push失敗執行】:git pull origin master --allow-unrelated-histories

右下角點擊Version Control 查看

-->【git Add】-->【git Commit Directory..】

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章