Git 碼雲操作
阿新 • • 發佈:2018-06-30
tails www bec In detail zha 第一次 bubuko 項目
https://www.cnblogs.com/lanxiang/p/7487971.html
將項目提交到碼雲
在碼雲創建項目
然後在項目目錄下:
打開後輸入:
git init
目錄下出現.git文件即為成功
然後右鍵:
然後依次:
掃描
添加
提交
上傳
錯誤:
Pushing to https://gitee.com/jiangwenzhang/zbwazn.git To https://gitee.com/jiangwenzhang/zbwazn.git ! [rejected] master -> master (fetch first) error: failed to push some refs to‘https://gitee.com/jiangwenzhang/zbwazn.git‘ hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., ‘git pull ...‘) before pushing again. hint: See the‘Note about fast-forwards‘ in ‘git push --help‘ for details.
解決辦法:
如果是第一次上傳,可以強制覆蓋:
Git 碼雲操作