defunkt/hub — pull request #257 by maxandersen (2012-11-06 07:02:14+00:00)
Title: would be nice if git fork <username> would "just work"

I like the idea that I can just do:

hub clone jbosstools/jbosstools-build
cd jbosstools-build
hub fork maxandersen

Now if I have no repo, it will fork it and add my personal writable/pushable repo as a remote. Great!

but this fails if I already have fork on github.

Would it not make sense that hub fork would just use the existing fork and continue to add the remote ?

Otherwise I'll have to remember if I actually have a proper fork and then do a git remote add manually or remember to do git remote add -p maxandersen since git remote add maxandersen is not enough either.