![](/img/trans.png)
[英]git - A git fetch / git merge merges without conflicts, but shows almost all files are modified and need to be committed
[英]Fetch committed versions of ALL FILES from GIT
我是GIT的新手。 如何從“ GIT倉庫”中獲取所有文件的“提交版本”?
例如,我在GIT中有三個文件
one.c v1.3 (v1.3 is tag and committed)
one.c v1.2
one.c v1.1
two.c v1.2 (committed)
two.c v1.1
three.c v1.1 (committed)
如何從GIT中獲取one.c(v1.3),two.c(v1.2)和three.c(v1.1)?
謝謝Sathish Kumar
當您執行git pull
,您的工作目錄中將填充所有文件的最新版本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.