碼雲GIT代碼推送流程及報錯處理

碼雲GIT代碼推送流程及報錯處理

打開需要推送的文件夾:
![](https://s1.51cto.com/images/blog/202003/10/34817f9a11545a2cc3286c49d17c536e.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)

創建文件夾:
mkdir python_day01
進入文件夾:
cd python_day01
初始化:
git init  
創建redame文件:
touch README.md
![](https://s1.51cto.com/images/blog/202003/10/7a23eea3b8c17df78f1ffaf894a5581c.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)

git add . (“點” 代表打包當前文件夾所有文件)
git commit -m "frist commit" (第幾次提交)
碼雲GIT代碼推送流程及報錯處理
將遠程UIR命名:
git remote add origin https://gitee.com/hu_xin_xiang/python_day02.git
推送代碼:
git push -u origin master
git pull --rebase origin master
git remote add origin https://gitee.com/hu_xin_xiang/python_day02.git
git push -u origin master
碼雲GIT代碼推送流程及報錯處理

別名報錯處理:
![](https://s1.51cto.com/images/blog/202003/10/bfa6731988c8ec230b83db5d1a443392.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章