[英]“git fetch” does not work
git@gitorious.org:~porton/texmacs/texmacs-porton.git
是我的存儲庫,其中包含主要TeXmacs存儲庫的副本git://gitorious.org/texmacs/texmacs.git
及其更改(不接受主存儲庫)。
我運行以下命令:
$ git clone git@gitorious.org:~porton/texmacs/texmacs-porton.git
$ cd texmacs-porton
$ git fetch --verbose --progress https://git.gitorious.org/texmacs/texmacs.git
最后的get fetch
輸出任何內容,在我看來,它不會創建任何新分支。
請幫助我從主要的TeXmacs存儲庫合並到我自己的存儲庫。
是git的錯誤嗎?
嘗試
git remote add official git://gitorious.org/texmacs/texmacs.git
git fetch official
git://
快得多 問題可能出在您的URL。 當您應該使用git://
時,您正在使用https://
(導致404)。
以下對我有用:
git fetch git://git.gitorious.org/texmacs/texmacs.git
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.