Search code examples
gitdvcsgitorious

"git fetch" does not work


git@gitorious.org:~porton/texmacs/texmacs-porton.git is my repository containing a clone of the main TeXmacs repository git://gitorious.org/texmacs/texmacs.git with my changes (not accepted to the main repository).

I run the following commands:

$ git clone git@gitorious.org:~porton/texmacs/texmacs-porton.git

$ cd texmacs-porton

$ git fetch --verbose --progress https://git.gitorious.org/texmacs/texmacs.git

The last get fetch outputs nothing and as it seems to me does not create any new branches.

Please help me to merge from the main TeXmacs repository to my own.

Is it a bug of git?


Solution

  • try

    git remote add official git://gitorious.org/texmacs/texmacs.git
    git fetch official
    
    • git:// is much faster
    • by giving the remote a name, fetch can create remote branches