作者mureka (mureka)
看板Programming
標題[問題] 請問如何用git更新 github上的專案
時間Wed Apr 25 07:16:22 2018
請問有關 git 的問題。
前幾天,從 github 上取了一個專案。用了下列指令
git clone
https://github.com/user1/project1.git
但幾天後,
https://github.com/user1/project1 中有個目錄有更新程式。假設這目錄是
https://github.com/user1/project1/folder1
請問我要用 git 下什麼指令如何把 folder1有更新過的程式或檔案取回呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.9.226.78
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Programming/M.1524611787.A.2B7.html
1F:→ adrianshum: git pull 或 git fetch 再merge 之類 45.64.240.15 04/25 08:40
2F:→ adrianshum: 建議還是找個git 教學跟著做一庁大吧 45.64.240.15 04/25 08:40
3F:→ adrianshum: 做一次吧 45.64.240.15 04/25 08:41
4F:→ mureka: 謝謝。因為我都是用SVN,對git 很陌生 39.9.226.78 04/25 09:40
5F:→ adrianshum: 用Git 真的要學一下他的基本概念,不 45.64.240.15 04/25 16:03
6F:→ adrianshum: 然用起來會一團糟 45.64.240.15 04/25 16:03