seveas / git-spindle

Abandoned command-line interface to GitHub and other central git services
Other
172 stars 35 forks source link

git hub clone points origin wrong #102

Closed mattiasb closed 8 years ago

mattiasb commented 8 years ago

When I run git hub clone magnars/.emacs.d I get output like this:

Cloning into '.emacs.d'...
[...]
Pointing origin to git@github.com:mattiasb/.emacs.d.git
[...]

When I then run git remote -v show I see that git-spindle indeed have pointed origin to my repo instead of the repo I cloned. I'm guessing this is because I have a repo with the same name because it doesn't happen when I clone git-spindle for example.

Also, the different .emacs.d repos aren't forks or even based off of each other but totally separate Emacs configurations.

seveas commented 8 years ago

Intriguing. I can reproduce that here. Looks like it clones the right thing, but then set-origin gets confused.

seveas commented 8 years ago

Solution:

Will work on this asap, have another feature to finish first.

seveas commented 8 years ago

Should be fixed in 07b1fea