碼雲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代碼推送流程及報錯處理python

別名報錯處理:
![](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=)