Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For GitHub, using the hub[1] client, you can simply do:

  hub create -p
That will create a new private repo, matching the name of your repository.

What I will often do if I want to instantly mirror something to github:

  hub create -p --remote-name=github
Which will create a new remote with that name. Otherwise origin will be used, which can conflict if you already have an origin remote.

It is also less typing.

[1]: https://github.com/github/hub



I dislike organizations that take open source things like git, and then extend them to add features making them propriety work flow lock in making it hard to move to a new platform

Another company was famous for this, they used to call it Embrace, Extend, Extinguish


Well, with the hub cli, it is just using GitHub's public API. I don't think it is doing anything proprietary.


> I don't think it is doing anything proprietary.

Does github provide the code of their servers that implements the API? Can you self-host it? If not, then it is pretty proprietary.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: