2

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的错误吗?

4

2 回答 2

3

尝试

git remote add official git://gitorious.org/texmacs/texmacs.git
git fetch official
  • git://快得多
  • 通过给远程一个名字, fetch 可以创建远程分支
于 2011-07-27T14:12:51.280 回答
1

问题可能出在您的 URL 上。当您https://应该使用git://.

以下对我有用:

git fetch git://git.gitorious.org/texmacs/texmacs.git
于 2011-07-27T14:07:15.607 回答