40723149 CD2020

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • 每周進度
    • Week1
    • Week2
    • week3
      • 更新Python 3.8.2
    • week5
      • 直播內容-1
    • week6
      • 直播內容-2
      • TOP 0 文章心得
      • OBS安裝及相關問題影片
      • OBS直播測試
    • week7
    • week10
      • 註冊教育版onshape
      • onshape介面及基本單位設定
    • week11
    • week12
      • cmsimde故障排除
    • week13
      • IPv4與IPv6
    • week14
    • week15
    • week16
    • week17
  • Webots tutorial 內容翻譯
    • 常見問題
    • 程式設計
  • Onshape繪製車子
week15 << Previous Next >> week17

week16

這周有被抽到mini project的分組

倉儲:https://github.com/mdecourse/cdaw16-1/commits/master

在push的時候總會遇到相互衝突的時候而產生類似下面的文字提示

error: failed to push some refs to 'https://github.com/mdecourse/cdaw16-1'
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 pull再git push即可

當自己更新完網頁內容要push上去時,會提示你哪些檔案有發生衝突,這時要去他提示的路徑找檔案丟到編輯器把發生衝突的地方刪除再進行push就可以了。


week15 << Previous Next >> week17

Copyright © All rights reserved | This template is made with by Colorlib